Function sc_informant::build
source · pub async fn build<B: BlockT, C, N, S>(
client: Arc<C>,
network: N,
syncing: S,
format: OutputFormat
)where
N: NetworkStatusProvider,
S: SyncStatusProvider<B>,
C: UsageProvider<B> + HeaderMetadata<B> + BlockchainEvents<B>,
<C as HeaderMetadata<B>>::Error: Display,
Expand description
Builds the informant and returns a Future
that drives the informant.