Packages

class Writable extends Object with StObject with WritableStream

Annotations
@JSType() @JSImport("stream", "Writable") @native()
Source
streamMod.scala
Linear Supertypes
WritableStream, EventEmitter, StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Writable
  2. WritableStream
  3. EventEmitter
  4. StObject
  5. Object
  6. Any
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Writable(opts: WritableOptions)
  2. new Writable()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _construct: UndefOr[Function1[Function1[UndefOr[|[Error, Null]], Unit], Unit]]
  5. def _destroy(error: Null, callback: Function1[UndefOr[|[Error, Null]], Unit]): Unit
  6. def _destroy(error: Error, callback: Function1[UndefOr[|[Error, Null]], Unit]): Unit
  7. def _final(callback: Function1[UndefOr[|[Error, Null]], Unit]): Unit
  8. def _write(chunk: Any, encoding: BufferEncoding, callback: Function1[UndefOr[|[Error, Null]], Unit]): Unit
  9. var _writev: UndefOr[Function2[Array[anon.Chunk], Function1[UndefOr[|[Error, Null]], Unit], Unit]]
  10. def addListener(event: Symbol, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  11. def addListener(event: java.lang.String, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  12. def addListener_close(event: close, listener: Function0[Unit]): Writable.this.type

    Event emitter The defined events on documents including: 1.

    Event emitter The defined events on documents including: 1. close 2. drain 3. error 4. finish 5. pipe 6. unpipe

    Annotations
    @JSName("addListener")
  13. def addListener_drain(event: drain, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("addListener")
  14. def addListener_error(event: error, listener: Function1[Error, Unit]): Writable.this.type
    Annotations
    @JSName("addListener")
  15. def addListener_finish(event: finish, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("addListener")
  16. def addListener_pipe(event: pipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("addListener")
  17. def addListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("addListener")
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  20. def cork(): Unit
  21. def destroy(error: Error): Unit
  22. def destroy(): Unit
  23. var destroyed: Boolean
  24. def emit(event: Symbol, args: Any*): Boolean
    Definition Classes
    EventEmitter
  25. def emit(event: java.lang.String, args: Any*): Boolean
    Definition Classes
    EventEmitter
  26. def emit_close(event: close): Boolean
    Annotations
    @JSName("emit")
  27. def emit_drain(event: drain): Boolean
    Annotations
    @JSName("emit")
  28. def emit_error(event: error, err: Error): Boolean
    Annotations
    @JSName("emit")
  29. def emit_finish(event: finish): Boolean
    Annotations
    @JSName("emit")
  30. def emit_pipe(event: pipe, src: Readable): Boolean
    Annotations
    @JSName("emit")
  31. def emit_unpipe(event: unpipe, src: Readable): Boolean
    Annotations
    @JSName("emit")
  32. def end(chunk: Any, encoding: BufferEncoding, cb: Function0[Unit]): Unit
  33. def end(chunk: Any, encoding: BufferEncoding): Unit
  34. def end(chunk: Any, cb: Function0[Unit]): Unit
  35. def end(chunk: Any): Unit
  36. def end(str: java.lang.String, encoding: Unit, cb: Function0[Unit]): Unit
    Definition Classes
    WritableStream
  37. def end(str: java.lang.String, encoding: BufferEncoding, cb: Function0[Unit]): Unit
    Definition Classes
    WritableStream
  38. def end(str: java.lang.String, encoding: BufferEncoding): Unit
    Definition Classes
    WritableStream
  39. def end(data: Uint8Array, cb: Function0[Unit]): Unit
    Definition Classes
    WritableStream
  40. def end(data: Uint8Array): Unit
    Definition Classes
    WritableStream
  41. def end(data: java.lang.String, cb: Function0[Unit]): Unit
    Definition Classes
    WritableStream
  42. def end(data: java.lang.String): Unit
    Definition Classes
    WritableStream
  43. def end(cb: Function0[Unit]): Unit
    Definition Classes
    WritableStream
  44. def end(): Unit
    Definition Classes
    WritableStream
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  47. def eventNames(): Array[|[java.lang.String, Symbol]]
    Definition Classes
    EventEmitter
  48. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  49. def getMaxListeners(): Double
    Definition Classes
    EventEmitter
  50. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  51. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  54. def listenerCount(event: Symbol): Double
    Definition Classes
    EventEmitter
  55. def listenerCount(event: java.lang.String): Double
    Definition Classes
    EventEmitter
  56. def listeners(event: Symbol): Array[Function]
    Definition Classes
    EventEmitter
  57. def listeners(event: java.lang.String): Array[Function]
    Definition Classes
    EventEmitter
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  61. def off(event: Symbol, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  62. def off(event: java.lang.String, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  63. def on(event: Symbol, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  64. def on(event: java.lang.String, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  65. def on_close(event: close, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("on")
  66. def on_drain(event: drain, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("on")
  67. def on_error(event: error, listener: Function1[Error, Unit]): Writable.this.type
    Annotations
    @JSName("on")
  68. def on_finish(event: finish, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("on")
  69. def on_pipe(event: pipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("on")
  70. def on_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("on")
  71. def once(event: Symbol, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  72. def once(event: java.lang.String, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  73. def once_close(event: close, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("once")
  74. def once_drain(event: drain, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("once")
  75. def once_error(event: error, listener: Function1[Error, Unit]): Writable.this.type
    Annotations
    @JSName("once")
  76. def once_finish(event: finish, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("once")
  77. def once_pipe(event: pipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("once")
  78. def once_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("once")
  79. def prependListener(event: Symbol, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  80. def prependListener(event: java.lang.String, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  81. def prependListener_close(event: close, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("prependListener")
  82. def prependListener_drain(event: drain, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("prependListener")
  83. def prependListener_error(event: error, listener: Function1[Error, Unit]): Writable.this.type
    Annotations
    @JSName("prependListener")
  84. def prependListener_finish(event: finish, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("prependListener")
  85. def prependListener_pipe(event: pipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("prependListener")
  86. def prependListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("prependListener")
  87. def prependOnceListener(event: Symbol, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  88. def prependOnceListener(event: java.lang.String, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  89. def prependOnceListener_close(event: close, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("prependOnceListener")
  90. def prependOnceListener_drain(event: drain, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("prependOnceListener")
  91. def prependOnceListener_error(event: error, listener: Function1[Error, Unit]): Writable.this.type
    Annotations
    @JSName("prependOnceListener")
  92. def prependOnceListener_finish(event: finish, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("prependOnceListener")
  93. def prependOnceListener_pipe(event: pipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("prependOnceListener")
  94. def prependOnceListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("prependOnceListener")
  95. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  96. def rawListeners(event: Symbol): Array[Function]
    Definition Classes
    EventEmitter
  97. def rawListeners(event: java.lang.String): Array[Function]
    Definition Classes
    EventEmitter
  98. def removeAllListeners(event: Symbol): Writable.this.type
    Definition Classes
    EventEmitter
  99. def removeAllListeners(event: java.lang.String): Writable.this.type
    Definition Classes
    EventEmitter
  100. def removeAllListeners(): Writable.this.type
    Definition Classes
    EventEmitter
  101. def removeListener(event: Symbol, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  102. def removeListener(event: java.lang.String, listener: Function1[Any, Unit]): Writable.this.type
    Definition Classes
    EventEmitter
  103. def removeListener_close(event: close, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("removeListener")
  104. def removeListener_drain(event: drain, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("removeListener")
  105. def removeListener_error(event: error, listener: Function1[Error, Unit]): Writable.this.type
    Annotations
    @JSName("removeListener")
  106. def removeListener_finish(event: finish, listener: Function0[Unit]): Writable.this.type
    Annotations
    @JSName("removeListener")
  107. def removeListener_pipe(event: pipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("removeListener")
  108. def removeListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Writable.this.type
    Annotations
    @JSName("removeListener")
  109. def setDefaultEncoding(encoding: BufferEncoding): Writable.this.type
  110. def setMaxListeners(n: Double): Writable.this.type
    Definition Classes
    EventEmitter
  111. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  112. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  113. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  114. def uncork(): Unit
  115. def valueOf(): Any
    Definition Classes
    Object
  116. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  117. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  118. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  119. val writable: Boolean
    Definition Classes
    WritableStream
  120. val writableCorked: Double
  121. val writableEnded: Boolean
  122. val writableFinished: Boolean
  123. val writableHighWaterMark: Double
  124. val writableLength: Double
  125. val writableObjectMode: Boolean
  126. def write(chunk: Any, encoding: BufferEncoding, cb: Function1[UndefOr[|[Error, Null]], Unit]): Boolean
  127. def write(chunk: Any, encoding: BufferEncoding): Boolean
  128. def write(chunk: Any, cb: Function1[UndefOr[|[Error, Null]], Unit]): Boolean
  129. def write(chunk: Any): Boolean
  130. def write(str: java.lang.String, encoding: Unit, cb: Function1[UndefOr[|[Error, Null]], Unit]): Boolean
    Definition Classes
    WritableStream
  131. def write(str: java.lang.String, encoding: BufferEncoding, cb: Function1[UndefOr[|[Error, Null]], Unit]): Boolean
    Definition Classes
    WritableStream
  132. def write(str: java.lang.String, encoding: BufferEncoding): Boolean
    Definition Classes
    WritableStream
  133. def write(buffer: Uint8Array, cb: Function1[UndefOr[|[Error, Null]], Unit]): Boolean
    Definition Classes
    WritableStream
  134. def write(buffer: Uint8Array): Boolean
    Definition Classes
    WritableStream
  135. def write(buffer: java.lang.String, cb: Function1[UndefOr[|[Error, Null]], Unit]): Boolean
    Definition Classes
    WritableStream
  136. def write(buffer: java.lang.String): Boolean
    Definition Classes
    WritableStream

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from WritableStream

Inherited from EventEmitter

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped