NullWritable

external class NullWritable : Writable(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val _construct: (callback: (JsError?) -> Unit) -> Unit?
Link copied to clipboard
open override val _writev: (_chunks: Array<WritableWritevChunksItem>, callback: (JsError?) -> Unit) -> Unit?
Link copied to clipboard
open val closed: Boolean
Link copied to clipboard
Link copied to clipboard
open var destroyed: Boolean
Link copied to clipboard
Link copied to clipboard
open val errored: JsError?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var writable: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun _destroy(error: JsError?, callback: (JsError?) -> Unit)
Link copied to clipboard
open fun _final(callback: (JsError?) -> Unit)
Link copied to clipboard
open override fun _write(_chunk: Any?, _encoding: BufferEncoding, callback: (JsError?) -> Unit)
Link copied to clipboard
fun addListener(type: EventType, listener: EventListener)
open fun addListener(event: Symbol, listener: Function<Unit>)
open fun addListener(event: String, listener: Function<Unit>)
Link copied to clipboard
open fun <T : ReadableStream> compose(stream: T, options: StreamComposeOptions): T
open fun <T : ReadableStream> compose(stream: AsyncIterable<T>, options: StreamComposeOptions): T
open fun <T : ReadableStream> compose(stream: JsIterable<T>, options: StreamComposeOptions): T
open fun <T : ReadableStream> compose(stream: ComposeFnParam, options: StreamComposeOptions): T
Link copied to clipboard
open fun cork()
Link copied to clipboard
open fun destroy()
open fun destroy(error: JsError)
Link copied to clipboard
fun emit(type: EventType, vararg args: Any?): Boolean
open fun emit(event: Symbol, vararg args: Any?): Boolean
open fun emit(event: String, vararg args: Any?): Boolean
Link copied to clipboard
open override fun end(cb: () -> Unit)
open override fun end(data: Uint8Array<*>, cb: () -> Unit)
open fun end(chunk: Any?, cb: () -> Unit)
open override fun end(data: String, cb: () -> Unit)
open fun end(chunk: Any?, encoding: BufferEncoding, cb: () -> Unit)
open override fun end(str: String, encoding: BufferEncoding, cb: () -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun off(type: EventType, listener: EventListener)
Link copied to clipboard
fun on(type: EventType, listener: EventListener)
open fun on(event: Symbol, listener: Function<Unit>)
open fun on(event: String, listener: Function<Unit>)
Link copied to clipboard
fun once(type: EventType, listener: EventListener)
open fun once(event: Symbol, listener: Function<Unit>)
open fun once(event: String, listener: Function<Unit>)
Link copied to clipboard
fun <T : WritableStream> pipe(destination: T, options: StreamPipeOptions): T
Link copied to clipboard
open fun prependListener(event: Symbol, listener: Function<Unit>)
open fun prependListener(event: String, listener: Function<Unit>)
Link copied to clipboard
open fun prependOnceListener(event: Symbol, listener: Function<Unit>)
open fun prependOnceListener(event: String, listener: Function<Unit>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun removeListener(type: EventType, listener: EventListener)
open fun removeListener(event: Symbol, listener: Function<Unit>)
open fun removeListener(event: String, listener: Function<Unit>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun uncork()
Link copied to clipboard
open override fun write(buffer: Uint8Array<*>, cb: (JsError?) -> Unit): Boolean
open fun write(chunk: Any?, callback: (JsError?) -> Unit): Boolean
open override fun write(buffer: String, cb: (JsError?) -> Unit): Boolean
open fun write(chunk: Any?, encoding: BufferEncoding, callback: (JsError?) -> Unit): Boolean
open override fun write(str: String, encoding: BufferEncoding, cb: (JsError?) -> Unit): Boolean