c

io.scalajs.nodejs.fs

WriteStreamExtensions

implicit final class WriteStreamExtensions[T <: WriteStream] extends AnyVal

Write Stream Events

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WriteStreamExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WriteStreamExtensions(stream: T)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def closeFuture: Future[Unit]
    Annotations
    @inline()
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. 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

  9. 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

  10. 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

  11. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped