Skip to main content

task_scope

Function task_scope 

Source
pub fn task_scope(tenant: Option<&TenantId>, project: &ProjectId) -> String
Expand description

The tenant/project scope a task belongs to, as one opaque key. Task-keyed state (receipt indexes, learning) is always looked up under this scope, so equal task ids in different projects never meet.