subspace_service

Function wait_for_block_import

source
pub async fn wait_for_block_import<Block, Client>(
    client: &Client,
    waiting_block_number: NumberFor<Block>,
)
where Block: BlockT, Client: HeaderBackend<Block> + BlockchainEvents<Block>,