pub fn import_queue<B, I, C, P, S, CAW>(
    slot_duration: SlotDuration,
    block_import: I,
    justification_import: Option<BoxJustificationImport<B>>,
    client: Arc<C>,
    inherent_data_providers: InherentDataProviders,
    spawner: &S,
    registry: Option<&Registry>,
    can_author_with: CAW
) -> Result<DefaultImportQueue<B, C>, Error> where
    B: BlockT,
    C::Api: BlockBuilderApi<B> + AuraApi<B, <P as Pair>::Public> + ApiExt<B, Error = Error>,
    C: 'static + ProvideRuntimeApi<B> + BlockOf + ProvideCache<B> + Send + Sync + AuxStore + HeaderBackend<B>,
    I: BlockImport<B, Error = ConsensusError, Transaction = TransactionFor<C, B>> + Send + Sync + 'static,
    DigestItemFor<B>: CompatibleDigestItem<P>,
    P: Pair + Send + Sync + 'static,
    P::Public: Clone + Eq + Send + Sync + Hash + Debug + Encode + Decode,
    P::Signature: Encode + Decode,
    S: SpawnNamed,
    CAW: CanAuthorWith<B> + Send + Sync + 'static, 
Expand description

Start an import queue for the Aura consensus algorithm.