implicit final class WriteStreamExtensions[T <: WriteStream] extends AnyVal
Write Stream Events
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WriteStreamExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new WriteStreamExtensions(stream: T)
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): T
Emitted when the WriteStream's underlying file descriptor has been closed using the fs.close() method.
Emitted when the WriteStream'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): T
Emitted when the WriteStream's file is opened.
Emitted when the WriteStream'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): T
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_1
-
def
toString(): String
- Definition Classes
- Any