interface FinishedOptions {
    signal?: AbortSignal;
    error?: boolean;
    readable?: boolean;
    writable?: boolean;
    cleanup?: boolean;
}

Hierarchy (view full)

Properties

signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.

error?: boolean
readable?: boolean
writable?: boolean
cleanup?: boolean

If true, removes the listeners registered by this function before the promise is fulfilled.

false