Function sc_informant::build[][src]

pub fn build<B: BlockT, C>(
    client: Arc<C>,
    network_status_sinks: Arc<StatusSinks<NetworkStatus<B>>>,
    pool: Arc<impl TransactionPoolAndMaybeMallogSizeOf>,
    format: OutputFormat
) -> impl Future<Output = ()> where
    C: UsageProvider<B> + HeaderMetadata<B> + BlockchainEvents<B>,
    <C as HeaderMetadata<B>>::Error: Display

Builds the informant and returns a Future that drives the informant.