pub async fn fetch_scheduling_lookahead(
parent: Hash,
session_index: SessionIndex,
sender: &mut impl SubsystemSender<RuntimeApiMessage>,
) -> Result<u32, Error>
Expand description
Returns the lookahead from the scheduler params if the runtime supports it, or default value if scheduling lookahead API is not supported by runtime.