Skip to main content
Version: v1

TimeoutWithError Interface

Signature

export interface TimeoutWithError

Properties

PropertyModifiersTypeDescription
durationMsoptionalnumber
errorMsgoptionalstring
rejectoptionaltrue

Property Details

durationMs

Signature

durationMs?: number;

Type: number

errorMsg

Signature

errorMsg?: string;

Type: string

reject

Signature

reject?: true;

Type: true