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 mtmorgan@fhcrc.org

See Also

Stream, Producer, Consumer.

Examples

1
## see example(Stream)

Streamer documentation built on Nov. 8, 2020, 5:53 p.m.