Packages

class Writable extends Stream with WritableStream

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

Inherited from internal

Inherited from ^

Inherited from ^

Inherited from EventEmitter

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped