SinkFn

Type Alias SinkFn 

Source
pub type SinkFn = fn(Context, Option<Configuration>, Inputs) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Node>>> + Send>>;
Expand description

SinkFn is the only signature we accept to construct a Sink.