Expand description
Supervised, isolated execution of routing functions.
Each invocation runs in its own supervised process, never on the calling
thread. A panic is contained and surfaced as FunctionError::Crashed; a
function running past the supervision timeout is abandoned and surfaced as
FunctionError::TimedOut. Neither outcome affects any other channel.
Structs§
- Consumer
Id - Identifier of a consumer that a routing function may select.
- Consumer
State View - Per-consumer state presented to a routing function during execution.
- Routing
Decision - Routing decision produced by a routing function.
- Routing
Message - Owned, supervisor-marshalled view of a message a routing function evaluates.
- Supervised
Executor - Executes routing functions in supervised, isolated processes.
Enums§
- Function
Error - Failure surfaced when a supervised routing function does not complete.