#[process]
Expand description
Attribute macro that creates an additional version of a function that executes in a separate process.
When applied to a function named foo
, this macro:
- Keeps the original function unchanged, allowing normal in-process calls
- Creates a new function named
foo_process
that returns a ProcessWrapper
ยงRequirements
The function must:
- Have arguments and return type that implement
Serialize
andDeserialize