@launchdarkly/js-server-sdk-common - v2.26.1
    Preparing search index...

    Interface CancelableTimeout

    Represents a timeout that can be cancelled.

    When racing a timeout, and another task completes before the timeout, then the timeout should be cancelled. This prevents leaving open handles which can stop the runtime from exiting.

    interface CancelableTimeout {
        cancel: VoidFunction;
        promise: Promise<void>;
    }
    Index
    cancel: VoidFunction
    promise: Promise<void>