Skip to main content

parked_on_user

Function parked_on_user 

Source
pub(crate) fn parked_on_user(task: &Task) -> bool
Expand description

Whether a row presents as waiting on the user: a decision wait or a verification park. The removal guards and the withdraw door read this set - an ask on the user leaves by the user’s own answer or approve, or by a reasoned withdraw. The fleet count and the chase’s user nudge derive the same set from the stored fields.

A verification park is the user’s only when the row carries its own gate (#2423): the gate is minted on the row, never inherited from its epic, so a park an inherited gate left behind is not an ask on the user and a seat may move the row.

A dependency or resource wait is not this set’s, however the rows around it are gated: the wait is on the task, not the user, and verify: user gates a row’s own completion rather than its wait. A target that parks on the look has not ended, so the chain keeps waiting, but the waiting row stays the caller’s to move or remove (#2415).