View source
enum abstract ReadStreamEvent<T>(Event<T>)
package js.node.fs
to Event<T>
import js.node.fs.ReadStream
Variables
inlineread onlyOpen:ReadStreamEvent<Int ‑> Void> = "open"
Emitted when the ReadStream
's file is opened.
Listener arguments:
fd - file descriptor used by the `ReadStream`.