Packages

implicit final class WritableEvents[T <: Writable] extends AnyVal

Writable Events

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

Instance Constructors

  1. new WritableEvents(writable: 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 getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. 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()
  8. 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()
  9. 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()
  10. 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()
  11. def onPipe(listener: (Readable) ⇒ 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()
  12. def onUnpipe(listener: (Readable) ⇒ 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()
  13. def toString(): String
    Definition Classes
    Any
  14. val writable: T

Inherited from AnyVal

Inherited from Any

Ungrouped