pub fn import_queue<Client, Block: BlockT, I, CIDP>(
client: Arc<Client>,
block_import: I,
create_inherent_data_providers: CIDP,
spawner: &impl SpawnEssentialNamed,
registry: Option<&Registry>,
) -> Result<BasicQueue<Block>>where
I: BlockImport<Block, Error = Error> + ParachainBlockImportMarker + Send + Sync + 'static,
Client: ProvideRuntimeApi<Block> + Send + Sync + 'static,
<Client as ProvideRuntimeApi<Block>>::Api: BlockBuilderApi<Block>,
CIDP: CreateInherentDataProviders<Block, ()> + 'static,
Expand description
Start an import queue for a Cumulus collator that does not uses any special authoring logic.