You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by hanseartic July 29, 2024 FinishedOptions accepted by stream.finished(stream, options, callback) are missing properties from documentation.
signal<AbortSignal> allows aborting the wait for the stream finish. The underlying stream will not be aborted if the signal is aborted. The callback will get called with an AbortError. All registered listeners added by this function will also be removed.
cleanup<boolean> remove all registered stream listeners. Default: false.
are missing
The text was updated successfully, but these errors were encountered:
For reference, cleanup only actually exists on stream.promises.finished() and is currently misdocumented in Node. signal arises from the Abortable interface so should be present here – are you unable to assign it?
Discussed in #70164
Originally posted by hanseartic July 29, 2024
FinishedOptions
accepted bystream.finished(stream, options, callback)
are missing properties from documentation.signal
andcleanup
optionsare missing
The text was updated successfully, but these errors were encountered: