Skip to main content

show_work

Function show_work 

Source
pub fn show_work(
    plan: &Plan,
    work: WorkItemId,
    now: DateTime<Utc>,
) -> Result<WorkItem, EngineError>
Expand description

Return a work projection with aggregate completion reflected in its lifecycle.

The returned value is a view, not an authoritative snapshot to persist.