GridFSBucketReadStream | mongodb (original) (raw)

Optional_construct

Returns void

_destroy

Returns void

[asyncDispose]

[asyncIterator]

Optional[captureRejectionSymbol]

Parameters

Returns void

abort

addListener

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

asIndexedPairs

Returns Readable

a stream of indexed pairs.

compose

Parameters

Returns T

destroy

Returns this

drop

Returns Readable

a stream with limit chunks dropped from the start.

emit

Returns boolean

Returns boolean

Returns boolean

Returns boolean

Returns boolean

end

Returns this

eventNames

every

Returns Promise<boolean>

a promise evaluating to true if fn returned a truthy value for every one of the chunks.

filter

Returns Readable

a stream filtered with the predicate fn.

find

Parameters

Returns Promise<undefined | T>

a promise evaluating to the first chunk for which fn evaluated with a truthy value, or undefined if no element was found.

Returns Promise<any>

flatMap

Returns Readable

a stream flat-mapped with the function fn.

forEach

Returns Promise<void>

a promise for when the stream has finished.

getMaxListeners

isPaused

iterator

Returns AsyncIterator<any, any, any>

listenerCount

Parameters

Returns number

listeners

Parameters

Returns Function[]

map

Returns Readable

a stream mapped with the function fn.

off

Parameters

Returns this

on

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

once

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

pause

pipe

Parameters

Returns T

prependListener

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

prependOnceListener

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

push

Returns boolean

rawListeners

Parameters

Returns Function[]

read

Returns any

reduce

Parameters

Returns Promise<T>

a promise for the final value of the reduction.

Parameters

Returns Promise<T>

removeAllListeners

Returns this

removeListener

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

Returns this

resume

setEncoding

Returns this

setMaxListeners

some

Returns Promise<boolean>

a promise evaluating to true if fn returned a truthy value for at least one of the chunks.

start

Returns this

take

Returns Readable

a stream with limit chunks taken.

toArray

Returns Promise<any[]>

a promise containing an array with the contents of the stream.

unpipe

Returns this

unshift

Returns void

wrap

Returns this

StaticaddAbortListener

Parameters

Returns Disposable

Disposable that removes the abort listener.

Staticfrom

Returns Readable

StaticfromWeb

Parameters

Returns Readable

StaticgetEventListeners

Returns Function[]

StaticgetMaxListeners

Returns number

StaticisDisturbed

Returns boolean

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

StatictoWeb

Parameters

Returns ReadableStream<any>