man/reset.Rd
b0661197
 \name{reset}
 
 \alias{reset}
 \alias{reset-methods}
 \alias{reset,Streamer-method}
 
5978aaa4
 \title{Function to reset a Stream, Producer, or Consumer}
b0661197
 
 \description{
 
   \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.
 
 }
 
 \usage{
 reset(x, ...)
 }
 
 \arguments{
4464ce81
 
b0661197
   \item{x}{A \code{Stream}, \code{Producer}, or \code{Consumer} object.}
4464ce81
 
b0661197
   \item{\dots}{Additional arguments, currently unused.}
4464ce81
 
b0661197
 }
 
 \value{
 
   A reference to \code{x}, the stream or component on which \code{reset}
   was invoked.
 
 }
 
 \author{Martin Morgan \url{mtmorgan@fhcrc.org}}
 
 \seealso{
 
4464ce81
   \code{\link{Stream}}, \code{\linkS4class{Producer}},
b0661197
   \code{\linkS4class{Consumer}}.
 
 }
 
3f24535c
 \examples{
4464ce81
 ## see example(Stream)
3f24535c
 }
b0661197
 
 \keyword{methods}