Type Alias Builder

Source
pub type Builder<Composite, BuildArg, Out, Err> = fn() -> for<'c> fn(_: &'c mut Composite, data: BuildArg) -> Pin<Box<dyn Future<Output = Result<Transit<'c, Composite, Out, Err>, Err>> + 'c>>;
Expand description

Abstract builder, a function constructing an async state function

This function are returned in case a composite ist terminated, In the outer scope/composite thus function will generate the successing state.

Instances of this function must be decalred as static functions.