Skip to main content

medi_handler

Attribute Macro medi_handler 

Source
#[medi_handler]
Expand description

Generate a typed static-dispatch invoker for an async handler function.

Use #[medi_handler(decorators = [logging, validate])] to wrap an invocation with middleware functions that receive the command and a continuation.