\title{Function to reset a Stream, Producer, or Consumer}


  \code{reset} on a stream invokes the \code{reset} method of all
  components of the stream; on a component, it invokes the \code{reset}
  method of the component and all inputs to the component.


reset(x, ...)


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

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



  A reference to \code{x}, the stream or component on which \code{reset}
  was invoked.


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


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


## see example(Stream)