Files
shiny/man/cancelOutput.Rd
2016-02-22 09:12:30 -08:00

21 lines
674 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{cancelOutput}
\alias{cancelOutput}
\title{Cancel processing of the current output}
\usage{
cancelOutput()
}
\description{
Signals an error that Shiny treats specially if an output is currently being
evaluated. Execution will stop, but rather than clearing the output (as
\code{\link{req}} does) or showing an error message (as \code{\link{stop}}
does), the output simply remains unchanged.
}
\details{
If \code{cancelOutput} is called in any non-output context (like in an
\code{\link{observe}} or \code{\link{observeEvent}}), the effect is the same
as \code{\link{req}(FALSE)}.
}