Packages

c

io.scalajs.nodejs.stream.IWritable

WritableExtension

implicit final class WritableExtension extends AnyVal

Writable Events

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

Instance Constructors

  1. new WritableExtension(writable: IWritable)

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 endFuture(): Future[Unit]
    Annotations
    @inline()
  6. def endFuture(chunk: String, encoding: String = null): Future[Unit]
    Annotations
    @inline()
  7. def endFuture(chunk: Buffer): Future[Unit]
    Annotations
    @inline()
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def onClose(listener: () => Any): writable.type

    Emitted when the stream and any of its underlying resources (a file descriptor, for example) have been closed.

    Emitted when the stream and any of its underlying resources (a file descriptor, for example) have been closed. The event indicates that no more events will be emitted, and no further computation will occur.

    Annotations
    @inline()
  11. def onDrain(listener: () => Any): writable.type

    If a stream.write(chunk) call returns false, then the 'drain' event will indicate when it is appropriate to begin writing more data to the stream.

    If a stream.write(chunk) call returns false, then the 'drain' event will indicate when it is appropriate to begin writing more data to the stream.

    Annotations
    @inline()
  12. def onError(listener: (Error) => Any): writable.type

    Emitted if there was an error when writing or piping data.

    Emitted if there was an error when writing or piping data.

    Annotations
    @inline()
  13. def onFinish(listener: () => Any): writable.type

    When the stream.end() method has been called, and all data has been flushed to the underlying system, this event is emitted.

    When the stream.end() method has been called, and all data has been flushed to the underlying system, this event is emitted.

    Annotations
    @inline()
  14. def onPipe(listener: (IReadable) => Any): writable.type

    This is emitted whenever the stream.pipe() method is called on a readable stream, adding this writable to its set of destinations.

    This is emitted whenever the stream.pipe() method is called on a readable stream, adding this writable to its set of destinations.

    Annotations
    @inline()
  15. def onUnpipe(listener: (IReadable) => Any): writable.type

    This is emitted whenever the stream.unpipe() method is called on a readable stream, removing this writable from its set of destinations.

    This is emitted whenever the stream.unpipe() method is called on a readable stream, removing this writable from its set of destinations.

    Annotations
    @inline()
  16. def toString(): String
    Definition Classes
    Any
  17. val writable: IWritable
  18. def writeFuture(chunk: String, encoding: String = null): Future[Unit]
    Annotations
    @inline()
  19. def writeFuture(chunk: Uint8Array): Future[Unit]
    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped