common-stuff
    Preparing search index...

    Type Alias Cancellable<F>

    Cancellable: F & { cancel(): void }

    A function decorated with a .cancel() method that aborts pending invocations.

    Type Parameters

    • F extends (...args: never[]) => unknown

    Type Declaration

    • cancel: function
      • Cancels any pending invocation. Calls already in flight are unaffected.

        Returns void