Skip to main content

register_flow

Macro register_flow 

Source
macro_rules! register_flow {
    ($flow_ty:ty) => { ... };
}
Expand description

Convenience macro for declaring a Flow registration with the standard trampoline (single static instance, no per-frame allocation).

§Example

use khora_data::flow::register_flow;

pub struct MyFlow { /* ... */ }
impl khora_data::flow::Flow for MyFlow { /* ... */ }

register_flow!(MyFlow);