holy fuck what was i on an hour ago that i missed that

selene 2026-02-08 18:55:41 +01:00
parent bf60c59540
commit 7d40e4ddc8
Signed by: sel
SSH key fingerprint: SHA256:33R/4Rx5Lu4o81LyJyXdMrmP5CJ6j7j1Soo0Dn7mKc0

@ -190,7 +190,7 @@ amount = 1
Functions return a vector of logs, as well as a key-value store, where the key is an item's name, and the value is a data structure containing instructions to create resulting object instances (see: type `crate::modules::FunctionResult`, `(Vec<Log>, HashMap<String, FunctionOutput>)`) (see: struct `crate::modules::FunctionOutput`). Functions return a vector of logs, as well as a key-value store, where the key is an item's name, and the value is a data structure containing instructions to create resulting object instances (see: type `crate::modules::FunctionResult`, `(Vec<Log>, HashMap<String, FunctionOutput>)`) (see: struct `crate::modules::FunctionOutput`).
Note that functions themselves don't create object instances on their own. They merely return the instructions needed (an `object_type` and values of `input`) to do so by the implementation. Note that functions themselves don't create object instances on their own. They merely return the instructions needed (an `object_type` and values of `input`, `local`, and `remote`) to do so by the implementation.
## Function templates ## Function templates