CancellationToken | mongodb (original) (raw)

Optional[captureRejectionSymbol]

Parameters

Returns void

addListener

Returns this

Returns this

emit

Parameters

Returns boolean

eventNames

getMaxListeners

listenerCount

Parameters

Returns number

listeners

Parameters

Returns {

cancel(): void;
}[EventKey][]

off

Returns this

Returns this

on

Returns this

Returns this

once

Returns this

Returns this

prependListener

Returns this

Returns this

prependOnceListener

Returns this

Returns this

rawListeners

Parameters

Returns {

cancel(): void;
}[EventKey][]

removeAllListeners

Parameters

Returns this

removeListener

Returns this

Returns this

setMaxListeners

StaticaddAbortListener

Parameters

Returns Disposable

Disposable that removes the abort listener.

StaticgetEventListeners

Returns Function[]

StaticgetMaxListeners

Returns number

StaticlistenerCount

Returns number

Staticon

Returns AsyncIterator<any[], any, any>

An AsyncIterator that iterates eventName events emitted by the emitter

Returns AsyncIterator<any[], any, any>

Staticonce

Returns Promise<any[]>

Returns Promise<any[]>

StaticsetMaxListeners

Returns void