shajara API
    Preparing search index...

    Long-lived scope for launching and canceling related routines.

    interface Scope {
        closed: Promise<void>;
        status: LaunchStatus;
        "[asyncDispose]"(): Promise<void>;
        cancel(): Promise<void>;
        run<Return>(
            ritual: RiteRoutine<Return>,
            options?: RunOptions,
        ): StatefulPromise<Return>;
    }
    Index

    Properties

    closed: Promise<void>

    Promise that settles when this scope closes.

    status: LaunchStatus

    Current lifecycle state for this scope.

    Methods