referrerpolicy=no-referrer-when-downgrade
polkadot_node_subsystem_util::runtime

Function fetch_scheduling_lookahead

Source
pub async fn fetch_scheduling_lookahead(
    parent: Hash,
    session_index: SessionIndex,
    sender: &mut impl SubsystemSender<RuntimeApiMessage>,
) -> Result<u32, Error>
Expand description

Checks if the runtime supports request_claim_queue and attempts to fetch the claim queue. Returns ClaimQueueSnapshot or None if claim queue API is not supported by runtime.