c

io.scalajs.nodejs.stream

WritableExtensions

implicit final class WritableExtensions[W <: IWritable] extends AnyVal

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

Instance Constructors

  1. new WritableExtensions(writable: W)

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

    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()
  12. def onDrain(listener: () => Any): W

    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()
  13. def onError(listener: (Error) => Any): W

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

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

    Annotations
    @inline()
  14. def onFinish(listener: () => Any): W

    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()
  15. def onPipe[R <: IReadable](listener: (R) => Any): W

    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()
  16. def onUnpipe[R <: IReadable](listener: (R) => Any): W

    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()
  17. def toString(): String
    Definition Classes
    Any
  18. def writeFuture(chunk: String): Future[Unit]
    Annotations
    @inline()
  19. def writeFuture(chunk: String, encoding: String): Future[Unit]
    Annotations
    @inline()
  20. def writeFuture(chunk: Uint8Array): Future[Unit]
    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped