SourceFn

Type Alias SourceFn 

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

SourceFn is the only signature we accept to construct a Source.