GridFSBucket | mongodb (original) (raw)

Optional[captureRejectionSymbol]

Parameters

Returns void

addListener

Returns this

Returns this

delete

Returns Promise<void>

drop

Returns Promise<void>

emit

Returns boolean

eventNames

find

getMaxListeners

listenerCount

Parameters

Returns number

listeners

Parameters

Returns GridFSBucketEvents[EventKey][]

off

Returns this

Returns this

on

Returns this

Returns this

once

Returns this

Returns this

openDownloadStream

openDownloadStreamByName

openUploadStream

openUploadStreamWithId

prependListener

Returns this

Returns this

prependOnceListener

Returns this

Returns this

rawListeners

Parameters

Returns GridFSBucketEvents[EventKey][]

removeAllListeners

Parameters

Returns this

removeListener

Returns this

Returns this

rename

Returns Promise<void>

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