Type alias ReadStreamEvents
ReadStreamEvents: { close: (() => void); data: ((chunk) => void); end: (() => void); error: ((err) => void); open: ((fd) => void); pause: (() => void); readable: (() => void); ready: (() => void); resume: (() => void); } & CustomEvents Type declaration
close: (() => void)
data: ((chunk) => void)
- (chunk): void
Returns void
end: (() => void)
error: ((err) => void)
open: ((fd) => void)
pause: (() => void)
readable: (() => void)
ready: (() => void)
resume: (() => void)
The Keys are events of the ReadStream and the values are the functions that are called when the event is emitted.