ReadonlyclosedPromise that settles when this scope closes.
ReadonlystatusCurrent lifecycle state for this scope.
Cancels the scope when used with explicit resource management.
Starts a routine owned by this scope. Non-cancellation failures from the launched routine propagate to this scope. Cancellation remains local to the launched routine.
Optionaloptions: RunOptionsStateful promise that resolves with the routine result or rejects with a shajara error.
Long-lived scope for launching and canceling related routines.