compose

abstract fun compose(stream: Stream): Duplex

Compose this stream with another one, to produce a duplex stream.

Return

The duplex stream.

Parameters

stream

The stream to compose with.


abstract fun compose(stream: Stream, options: Value): Duplex
abstract fun compose(stream: Stream, options: ReadableComposeOptions): Duplex

Compose this stream with another one, to produce a duplex stream.

Return

The duplex stream.

Parameters

stream

The stream to compose with.

options

The options for the compose operation.