\title{Function to yield one task from a Stream or Producer}


  \code{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 \code{yield} produce successive chunks of data.


yield(x, ...)


  \item{x}{A \code{Stream}, \code{Producer}, or \code{Consumer} object.}

  \item{\dots}{Additional arguments, currently unused.}



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


\author{Martin Morgan \url{mtmorgan@fhcrc.org}}


  \code{\link{Stream}}, \code{\linkS4class{Producer}},


## see example(Stream)

\keyword{ manip }