Skip to main content

tick

Function tick 

Source
async fn tick(
    relation: &OperatorRelation,
    estop: &Estop,
    lifecycle: &ServerLifecycle,
    registry: &dyn Registry,
    client: &Client,
    now: OffsetDateTime,
    private: PrivateAddresses,
    standing: &mut RootStanding,
    policies: Option<&PolicyPoll>,
    records_read: &OperatorRecords,
    handle: Option<&Arc<OperatorHandle>>,
) -> (OperatorTransition, bool)
Expand description

poll_once with standing carried for refresh_root_standing, followed by policies’ own tick against the endpoint the claim was read from. A tick that could not resolve the operator reads no policies either, and the gate keeps the set it had. Answers the transition, and whether the operator’s records were read and their allowances installed.