Crate ockam_node_attribute[−][src]
Node attribute proc_macro.
The #[node] macro transform an async input main function into a regular output main function that sets up an ockam node and executes the body of the input function inside the node.
The main Ockam crate re-exports this macro.
Attribute Macros
node | Marks an async function to be run in an ockam node. |