Crate ockam_node_attribute[][src]

Expand description

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

Marks an async function to be run in an ockam node.