ZipUploadStream

external class ZipUploadStream : Transform(source)

Constructors

Link copied to clipboard
constructor(bufferSize: Number)

Properties

Link copied to clipboard
open override 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
Link copied to clipboard
open override val closed: Boolean
Link copied to clipboard
open override var destroyed: Boolean
Link copied to clipboard
Link copied to clipboard
open override val errored: JsError?
Link copied to clipboard
open override var readable: 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var writable: Boolean
Link copied to clipboard
open override val writableCorked: Double
Link copied to clipboard
open override val writableEnded: Boolean
Link copied to clipboard
open override val writableFinished: Boolean
Link copied to clipboard
open override val writableHighWaterMark: Double
Link copied to clipboard
open override val writableLength: Double
Link copied to clipboard
open override val writableNeedDrain: Boolean
Link copied to clipboard
open override val writableObjectMode: Boolean

Functions

Link copied to clipboard
open override fun _destroy(error: JsError?, callback: (JsError?) -> Unit)
Link copied to clipboard
open override fun _final(callback: (JsError?) -> Unit)
Link copied to clipboard
fun _flush(callback: TransformCallback)
Link copied to clipboard
fun _read(size: Number)
Link copied to clipboard
fun _transform(chunk: Any?, enc: Any?, cb: Any?)
fun _transform(chunk: Any?, encoding: BufferEncoding, callback: TransformCallback)
Link copied to clipboard
open override fun _write(chunk: Any?, encoding: BufferEncoding, callback: (JsError?) -> Unit)
Link copied to clipboard
open override fun addListener(event: Symbol, listener: Function<Unit>)
open override fun addListener(event: String, listener: Function<Unit>)
fun addListener(event: DuplexEvent.CLOSE, listener: () -> Unit)
fun addListener(event: DuplexEvent.DATA, listener: (chunk: Any?) -> Unit)
fun addListener(event: DuplexEvent.DRAIN, listener: () -> Unit)
fun addListener(event: DuplexEvent.END, listener: () -> Unit)
fun addListener(event: DuplexEvent.ERROR, listener: (JsError) -> Unit)
fun addListener(event: DuplexEvent.FINISH, listener: () -> Unit)
fun addListener(event: DuplexEvent.PAUSE, listener: () -> Unit)
fun addListener(event: DuplexEvent.PIPE, listener: (src: Readable) -> Unit)
fun addListener(event: DuplexEvent.READABLE, listener: () -> Unit)
fun addListener(event: DuplexEvent.RESUME, listener: () -> Unit)
fun addListener(event: DuplexEvent.UNPIPE, listener: (src: Readable) -> Unit)
fun addListener(event: ReadableEvent.CLOSE, listener: () -> Unit)
fun addListener(event: ReadableEvent.DATA, listener: (chunk: Any?) -> Unit)
fun addListener(event: ReadableEvent.END, listener: () -> Unit)
fun addListener(event: ReadableEvent.ERROR, listener: (JsError) -> Unit)
fun addListener(event: ReadableEvent.PAUSE, listener: () -> Unit)
fun addListener(event: ReadableEvent.READABLE, listener: () -> Unit)
fun addListener(event: ReadableEvent.RESUME, listener: () -> Unit)
fun addListener(event: WritableEvent.CLOSE, listener: () -> Unit)
fun addListener(event: WritableEvent.DRAIN, listener: () -> Unit)
fun addListener(event: WritableEvent.ERROR, listener: (JsError) -> Unit)
fun addListener(event: WritableEvent.FINISH, listener: () -> Unit)
fun addListener(event: WritableEvent.PIPE, listener: (src: Readable) -> Unit)
fun addListener(event: WritableEvent.UNPIPE, listener: (src: Readable) -> Unit)
Link copied to clipboard
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 override fun cork()
Link copied to clipboard
open override fun destroy()
open override fun destroy(error: JsError)
Link copied to clipboard
fun drop(limit: Number, options: ArrayOptions): Readable
Link copied to clipboard
Link copied to clipboard
open override fun end(cb: () -> Unit)
open override fun end(chunk: Any?, cb: () -> Unit)
open override fun end(chunk: Any?, encoding: BufferEncoding, cb: () -> Unit)
open override fun end(data: Uint8Array, cb: () -> Unit)
open override fun end(data: String, cb: () -> Unit)
open override fun end(str: String, encoding: BufferEncoding, cb: () -> Unit)
Link copied to clipboard
Link copied to clipboard
fun every(fn: (data: Any?, options: ArrayOptions?) -> PromiseResult<Boolean>, options: ArrayOptions): Promise<Boolean>
Link copied to clipboard
fun filter(fn: (data: Any?, options: ArrayOptions?) -> PromiseResult<Boolean>, options: ArrayOptions): Readable
Link copied to clipboard
fun find(fn: (data: Any?, options: ArrayOptions?) -> PromiseResult<Boolean>, options: ArrayOptions): Promise<Any?>
fun <T> find(fn: (data: Any?, options: ArrayOptions?) -> Boolean, options: ArrayOptions): Promise<T?>
Link copied to clipboard
fun flatMap(fn: (data: Any?, options: ArrayOptions?) -> Any?, options: ArrayOptions): Readable
Link copied to clipboard
fun forEach(fn: (data: Any?, options: ArrayOptions?) -> PromiseResult<Void>, options: ArrayOptions): Promise<Void>
Link copied to clipboard
Link copied to clipboard
open override fun isPaused(): Boolean
Link copied to clipboard
Link copied to clipboard
fun map(fn: (data: Any?, options: ArrayOptions?) -> Any?, options: ArrayOptions): Readable
Link copied to clipboard
open override fun on(event: Symbol, listener: Function<Unit>)
open override fun on(event: String, listener: Function<Unit>)
fun on(event: DuplexEvent.CLOSE, listener: () -> Unit)
fun on(event: DuplexEvent.DATA, listener: (chunk: Any?) -> Unit)
fun on(event: DuplexEvent.DRAIN, listener: () -> Unit)
fun on(event: DuplexEvent.END, listener: () -> Unit)
fun on(event: DuplexEvent.ERROR, listener: (JsError) -> Unit)
fun on(event: DuplexEvent.FINISH, listener: () -> Unit)
fun on(event: DuplexEvent.PAUSE, listener: () -> Unit)
fun on(event: DuplexEvent.PIPE, listener: (src: Readable) -> Unit)
fun on(event: DuplexEvent.READABLE, listener: () -> Unit)
fun on(event: DuplexEvent.RESUME, listener: () -> Unit)
fun on(event: DuplexEvent.UNPIPE, listener: (src: Readable) -> Unit)
fun on(event: ReadableEvent.CLOSE, listener: () -> Unit)
fun on(event: ReadableEvent.DATA, listener: (chunk: Any?) -> Unit)
fun on(event: ReadableEvent.END, listener: () -> Unit)
fun on(event: ReadableEvent.ERROR, listener: (JsError) -> Unit)
fun on(event: ReadableEvent.PAUSE, listener: () -> Unit)
fun on(event: ReadableEvent.READABLE, listener: () -> Unit)
fun on(event: ReadableEvent.RESUME, listener: () -> Unit)
fun on(event: WritableEvent.CLOSE, listener: () -> Unit)
fun on(event: WritableEvent.DRAIN, listener: () -> Unit)
fun on(event: WritableEvent.ERROR, listener: (JsError) -> Unit)
fun on(event: WritableEvent.FINISH, listener: () -> Unit)
fun on(event: WritableEvent.PIPE, listener: (src: Readable) -> Unit)
fun on(event: WritableEvent.UNPIPE, listener: (src: Readable) -> Unit)
Link copied to clipboard
open override fun once(event: Symbol, listener: Function<Unit>)
open override fun once(event: String, listener: Function<Unit>)
fun once(event: DuplexEvent.CLOSE, listener: () -> Unit)
fun once(event: DuplexEvent.DATA, listener: (chunk: Any?) -> Unit)
fun once(event: DuplexEvent.DRAIN, listener: () -> Unit)
fun once(event: DuplexEvent.END, listener: () -> Unit)
fun once(event: DuplexEvent.ERROR, listener: (JsError) -> Unit)
fun once(event: DuplexEvent.FINISH, listener: () -> Unit)
fun once(event: DuplexEvent.PAUSE, listener: () -> Unit)
fun once(event: DuplexEvent.PIPE, listener: (src: Readable) -> Unit)
fun once(event: DuplexEvent.READABLE, listener: () -> Unit)
fun once(event: DuplexEvent.RESUME, listener: () -> Unit)
fun once(event: DuplexEvent.UNPIPE, listener: (src: Readable) -> Unit)
fun once(event: ReadableEvent.CLOSE, listener: () -> Unit)
fun once(event: ReadableEvent.DATA, listener: (chunk: Any?) -> Unit)
fun once(event: ReadableEvent.END, listener: () -> Unit)
fun once(event: ReadableEvent.ERROR, listener: (JsError) -> Unit)
fun once(event: ReadableEvent.PAUSE, listener: () -> Unit)
fun once(event: ReadableEvent.READABLE, listener: () -> Unit)
fun once(event: ReadableEvent.RESUME, listener: () -> Unit)
fun once(event: WritableEvent.CLOSE, listener: () -> Unit)
fun once(event: WritableEvent.DRAIN, listener: () -> Unit)
fun once(event: WritableEvent.ERROR, listener: (JsError) -> Unit)
fun once(event: WritableEvent.FINISH, listener: () -> Unit)
fun once(event: WritableEvent.PIPE, listener: (src: Readable) -> Unit)
fun once(event: WritableEvent.UNPIPE, listener: (src: Readable) -> Unit)
Link copied to clipboard
open override fun pause()
Link copied to clipboard
open override fun <T : WritableStream> pipe(destination: T, options: ReadableStreamPipeOptions): T
fun <T : WritableStream> pipe(destination: T, options: StreamPipeOptions): T
Link copied to clipboard
open override fun prependListener(event: Symbol, listener: Function<Unit>)
open override fun prependListener(event: String, listener: Function<Unit>)
fun prependListener(event: DuplexEvent.CLOSE, listener: () -> Unit)
fun prependListener(event: DuplexEvent.DATA, listener: (chunk: Any?) -> Unit)
fun prependListener(event: DuplexEvent.DRAIN, listener: () -> Unit)
fun prependListener(event: DuplexEvent.END, listener: () -> Unit)
fun prependListener(event: DuplexEvent.ERROR, listener: (JsError) -> Unit)
fun prependListener(event: DuplexEvent.FINISH, listener: () -> Unit)
fun prependListener(event: DuplexEvent.PAUSE, listener: () -> Unit)
fun prependListener(event: DuplexEvent.PIPE, listener: (src: Readable) -> Unit)
fun prependListener(event: DuplexEvent.READABLE, listener: () -> Unit)
fun prependListener(event: DuplexEvent.RESUME, listener: () -> Unit)
fun prependListener(event: DuplexEvent.UNPIPE, listener: (src: Readable) -> Unit)
fun prependListener(event: ReadableEvent.CLOSE, listener: () -> Unit)
fun prependListener(event: ReadableEvent.DATA, listener: (chunk: Any?) -> Unit)
fun prependListener(event: ReadableEvent.END, listener: () -> Unit)
fun prependListener(event: ReadableEvent.ERROR, listener: (JsError) -> Unit)
fun prependListener(event: ReadableEvent.PAUSE, listener: () -> Unit)
fun prependListener(event: ReadableEvent.READABLE, listener: () -> Unit)
fun prependListener(event: ReadableEvent.RESUME, listener: () -> Unit)
fun prependListener(event: WritableEvent.CLOSE, listener: () -> Unit)
fun prependListener(event: WritableEvent.DRAIN, listener: () -> Unit)
fun prependListener(event: WritableEvent.ERROR, listener: (JsError) -> Unit)
fun prependListener(event: WritableEvent.FINISH, listener: () -> Unit)
fun prependListener(event: WritableEvent.PIPE, listener: (src: Readable) -> Unit)
fun prependListener(event: WritableEvent.UNPIPE, listener: (src: Readable) -> Unit)
Link copied to clipboard
open override fun prependOnceListener(event: Symbol, listener: Function<Unit>)
open override fun prependOnceListener(event: String, listener: Function<Unit>)
fun prependOnceListener(event: DuplexEvent.CLOSE, listener: () -> Unit)
fun prependOnceListener(event: DuplexEvent.DATA, listener: (chunk: Any?) -> Unit)
fun prependOnceListener(event: DuplexEvent.DRAIN, listener: () -> Unit)
fun prependOnceListener(event: DuplexEvent.END, listener: () -> Unit)
fun prependOnceListener(event: DuplexEvent.FINISH, listener: () -> Unit)
fun prependOnceListener(event: DuplexEvent.PAUSE, listener: () -> Unit)
fun prependOnceListener(event: DuplexEvent.PIPE, listener: (src: Readable) -> Unit)
fun prependOnceListener(event: DuplexEvent.READABLE, listener: () -> Unit)
fun prependOnceListener(event: DuplexEvent.RESUME, listener: () -> Unit)
fun prependOnceListener(event: DuplexEvent.UNPIPE, listener: (src: Readable) -> Unit)
fun prependOnceListener(event: ReadableEvent.CLOSE, listener: () -> Unit)
fun prependOnceListener(event: ReadableEvent.DATA, listener: (chunk: Any?) -> Unit)
fun prependOnceListener(event: ReadableEvent.END, listener: () -> Unit)
fun prependOnceListener(event: ReadableEvent.PAUSE, listener: () -> Unit)
fun prependOnceListener(event: ReadableEvent.READABLE, listener: () -> Unit)
fun prependOnceListener(event: ReadableEvent.RESUME, listener: () -> Unit)
fun prependOnceListener(event: WritableEvent.CLOSE, listener: () -> Unit)
fun prependOnceListener(event: WritableEvent.DRAIN, listener: () -> Unit)
fun prependOnceListener(event: WritableEvent.FINISH, listener: () -> Unit)
fun prependOnceListener(event: WritableEvent.PIPE, listener: (src: Readable) -> Unit)
fun prependOnceListener(event: WritableEvent.UNPIPE, listener: (src: Readable) -> Unit)
Link copied to clipboard
fun push(chunk: Any?, encoding: BufferEncoding): Boolean
Link copied to clipboard
open override fun read(size: Number): Any
Link copied to clipboard
open fun readOrNull(size: Number): Any?
Link copied to clipboard
fun <T> reduce(fn: (previous: T, data: Any?, options: ArrayOptions?) -> T, initial: T, options: ArrayOptions): Promise<T>
fun <T> reduce(fn: (previous: Any?, data: Any?, options: ArrayOptions?) -> T, initial: Nothing?, options: ArrayOptions): Promise<T>
Link copied to clipboard
open override fun removeListener(event: Symbol, listener: Function<Unit>)
open override fun removeListener(event: String, listener: Function<Unit>)
fun removeListener(event: DuplexEvent.CLOSE, listener: () -> Unit)
fun removeListener(event: DuplexEvent.DATA, listener: (chunk: Any?) -> Unit)
fun removeListener(event: DuplexEvent.DRAIN, listener: () -> Unit)
fun removeListener(event: DuplexEvent.END, listener: () -> Unit)
fun removeListener(event: DuplexEvent.ERROR, listener: (JsError) -> Unit)
fun removeListener(event: DuplexEvent.FINISH, listener: () -> Unit)
fun removeListener(event: DuplexEvent.PAUSE, listener: () -> Unit)
fun removeListener(event: DuplexEvent.PIPE, listener: (src: Readable) -> Unit)
fun removeListener(event: DuplexEvent.READABLE, listener: () -> Unit)
fun removeListener(event: DuplexEvent.RESUME, listener: () -> Unit)
fun removeListener(event: DuplexEvent.UNPIPE, listener: (src: Readable) -> Unit)
fun removeListener(event: ReadableEvent.CLOSE, listener: () -> Unit)
fun removeListener(event: ReadableEvent.DATA, listener: (chunk: Any?) -> Unit)
fun removeListener(event: ReadableEvent.END, listener: () -> Unit)
fun removeListener(event: ReadableEvent.ERROR, listener: (JsError) -> Unit)
fun removeListener(event: ReadableEvent.PAUSE, listener: () -> Unit)
fun removeListener(event: ReadableEvent.READABLE, listener: () -> Unit)
fun removeListener(event: ReadableEvent.RESUME, listener: () -> Unit)
fun removeListener(event: WritableEvent.CLOSE, listener: () -> Unit)
fun removeListener(event: WritableEvent.DRAIN, listener: () -> Unit)
fun removeListener(event: WritableEvent.ERROR, listener: (JsError) -> Unit)
fun removeListener(event: WritableEvent.FINISH, listener: () -> Unit)
fun removeListener(event: WritableEvent.PIPE, listener: (src: Readable) -> Unit)
fun removeListener(event: WritableEvent.UNPIPE, listener: (src: Readable) -> Unit)
Link copied to clipboard
open override fun resume()
Link copied to clipboard
open override fun setDefaultEncoding(encoding: BufferEncoding)
Link copied to clipboard
open override fun setEncoding(encoding: BufferEncoding)
Link copied to clipboard
Link copied to clipboard
fun some(fn: (data: Any?, options: ArrayOptions?) -> PromiseResult<Boolean>, options: ArrayOptions): Promise<Boolean>
Link copied to clipboard
fun take(limit: Number, options: ArrayOptions): Readable
Link copied to clipboard
Link copied to clipboard
open override fun uncork()
Link copied to clipboard
open override fun unpipe(destination: WritableStream)
Link copied to clipboard
open override fun unshift(chunk: Uint8Array, encoding: BufferEncoding)
fun unshift(chunk: Any?, encoding: BufferEncoding)
open override fun unshift(chunk: String, encoding: BufferEncoding)
Link copied to clipboard
open override fun wrap(stream: ReadableStream)
Link copied to clipboard
open override fun write(chunk: Any?, callback: (JsError?) -> Unit): Boolean
open override fun write(chunk: Any?, encoding: BufferEncoding, callback: (JsError?) -> Unit): Boolean
open override fun write(buffer: Uint8Array, cb: (JsError?) -> Unit): Boolean
open override fun write(buffer: String, cb: (JsError?) -> Unit): Boolean
open override fun write(str: String, encoding: BufferEncoding, cb: (JsError?) -> Unit): Boolean