Amazon Vinyl
    Preparing search index...

    Interface TimeoutOptions

    Options for timeout.

    interface TimeoutOptions {
        abort?: ReadonlyAbort;
        level?: ErrorLevel;
        message?: string;
        origin?: string;
    }

    Hierarchy (View Summary)

    Index

    If provided, when aborted (regardless of reason) will resolve the returned promise rather than rejecting.

    level?: ErrorLevel

    The error level. (default: ErrorLevel.FATAL)

    message?: string

    The message to set in the TimeoutError. Uses {time} token. (default: DEFAULT_TIMEOUT_MESSAGE)

    origin?: string

    The error origin. (default: ErrorOrigin.INTERNAL)