implicit final class WritableExtension extends AnyVal
Writable Events
- Alphabetic
- By Inheritance
- WritableExtension
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
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 endFuture(): Future[Unit]
- Annotations
- @inline()
- def endFuture(chunk: String, encoding: String = null): Future[Unit]
- Annotations
- @inline()
- def endFuture(chunk: Buffer): Future[Unit]
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- def toString(): String
- Definition Classes
- Any
- val writable: IWritable
- def writeFuture(chunk: String, encoding: String = null): Future[Unit]
- Annotations
- @inline()
- def writeFuture(chunk: Uint8Array): Future[Unit]
- Annotations
- @inline()