TS-Scribe - v1.2.0
    Preparing search index...

    Type Alias TimeoutOptions

    type TimeoutOptions = {
        message?: string;
        signal?: AbortSignal;
    }
    Index

    Properties

    Properties

    message?: string

    Custom message used in the rejection error when the deadline is reached. Defaults to 'Timed out after <ms>ms'.

    signal?: AbortSignal

    An optional AbortSignal. If the signal fires before the deadline, the promise is rejected immediately with an AbortError.