Type alias WriteStreamEvents
WriteStreamEvents: { close: (() => void); drain: (() => void); error: ((err) => void); finish: (() => void); open: ((fd) => void); pipe: ((src) => void); ready: (() => void); unpipe: ((src) => void); } & CustomEvents Type declaration
close: (() => void)
drain: (() => void)
error: ((err) => void)
finish: (() => void)
open: ((fd) => void)
pipe: ((src) => void)
ready: (() => void)
unpipe: ((src) => void)
The Keys are events of the WriteStream and the values are the functions that are called when the event is emitted.