geoview-core - v2.1.2
    Preparing search index...

    Type Alias DelayJob

    Job returned by the doWhen function

    type DelayJob = {
        cancel: () => void;
        promise: Promise<DelayResult>;
        reject: (reason?: unknown) => void;
        timeoutId: ReturnType<typeof setTimeout>;
    }
    Index

    Properties

    cancel: () => void

    Cancels the delay job, resolving correctly

    promise: Promise<DelayResult>

    The promise representing the delay job

    reject: (reason?: unknown) => void

    Rejects the delay job, throwing an error

    timeoutId: ReturnType<typeof setTimeout>

    The ID of the timeout