mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-06 12:44:58 -05:00
21 lines
674 B
R
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)}.
|
|
}
|
|
|