Skip to main content

next_in_scope

Function next_in_scope 

Source
pub fn next_in_scope(
    plan: &Plan,
    query: &NextWorkQuery,
    scope: &WorkScope,
    limit: usize,
    now: DateTime<Utc>,
) -> Result<NextWorkResult, EngineError>
Expand description

Rank eligible work on the full graph at an adapter-supplied time, then partition it by scope and apply the limit.