Writable streams class

Format

R6Class object.

Value

Object of R6Class .

Methods

Public methods


Method new()

Usage

Writeable$new(options = list())


Method write()

Usage

Writeable$write(chunk)


Method read()

Usage

Writeable$read(size = NULL)


Method pipe()

Usage

Writeable$pipe(destination, options = list())


Method unpipe()

Usage

Writeable$unpipe(destination)


Method pause()

Usage

Writeable$pause()


Method resume()

Usage

Writeable$resume()


Method setEncoding()

Usage

Writeable$setEncoding()


Method isPaused()

Usage

Writeable$isPaused()


Method unshift()

Usage

Writeable$unshift(chunk)


Method destroy()

Usage

Writeable$destroy()


Method push()

Usage

Writeable$push(chunk, encoding)


Method onClose()

Usage

Writeable$onClose(handler, unsubscribe = FALSE)


Method onData()

Usage

Writeable$onData(handler, unsubscribe = FALSE)


Method onEnd()

Usage

Writeable$onEnd(handler, unsubscribe = FALSE)


Method onError()

Usage

Writeable$onError(handler, unsubscribe = FALSE)


Method onReadable()

Usage

Writeable$onReadable(handler, unsubscribe = FALSE)


Method clone()

The objects of this class are cloneable with this method.

Usage

Writeable$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.