Skip to content
Classevent-emitterv0.1.8

WaitForError

Rejection thrown when a waitFor is aborted or times out.

class WaitForError extends Error

Member visibility

Filter class members by access level.

constructor

Constructs a new instance of the WaitForError class

WaitForError(
    reason: "aborted" | "timeout",
    timeoutMs?: number
)

Showing members with Protected visibility and higher.

Properties

reason

public readonly reason: 'aborted' | 'timeout'