yield: Function to yield one task from a Stream or Producer

Description Usage Arguments Value Author(s) See Also Examples

Description

yield invoked on a stream yields one chunk of data or, if the stream is complete, a length zero element of the data. Successive invocations of yield produce successive chunks of data.

Usage

1
yield(x, ...)

Arguments

x

A Stream, Producer, or Consumer object.

...

Additional arguments, currently unused.

Value

A chunk of data, with the specific notion of chunk defined by the final component of the stream.

Author(s)

Martin Morgan [email protected]

See Also

Stream, Producer, Consumer.

Examples

1
## see example(Stream)

Streamer documentation built on May 2, 2018, 3:13 a.m.