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

Hierarchy (view full)

Properties

cleanup?: boolean

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

false
error?: boolean
readable?: boolean
signal?: AbortSignal

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

writable?: boolean