Cotal TypeScript packages
    Preparing search index...

    Interface RootCancellationSource

    A host's latched root cancellation. Subscriptions replay a latched reason and return a remover.

    interface RootCancellationSource {
        reason: string | undefined;
        subscribe(fn: (reason: string) => void): () => void;
    }

    Implemented by

    Index
    reason: string | undefined