implicit final class ReadStreamExtensions[R <: ReadStream] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReadStreamExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ReadStreamExtensions(stream: R)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def closeFuture: Future[Unit]
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onClose(listener: () => Any): R
Emitted when the ReadStream's underlying file descriptor has been closed using the fs.close() method.
Emitted when the ReadStream's underlying file descriptor has been closed using the fs.close() method.
- listener
the event handler
- Annotations
- @inline()
- Since
0.1.93
- def onOpen(listener: (FileDescriptor) => Any): R
Emitted when the ReadStream's file is opened.
Emitted when the ReadStream's file is opened.
- listener
the event handler
- fd: Integer - file descriptor used by the ReadStream.
- Annotations
- @inline()
- Since
0.1.93
- def onReady(listener: () => Any): R
Added in Node.js v9.11.0
Added in Node.js v9.11.0
- Annotations
- @inline()
- See also
https://nodejs.org/api/fs.html#fs_event_ready
- def toString(): String
- Definition Classes
- Any