withProgressAttendant: Report Progress Attendant

Description Usage Arguments

View source: R/progress.R

Description

Report progress with attendant.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
withProgressAttendant(
  expr,
  ...,
  session = getDefaultReactiveDomain(),
  env = parent.frame(),
  quoted = FALSE
)

setProgressAttendant(
  value = 1,
  text = NULL,
  session = getDefaultReactiveDomain()
)

incProgressAttendant(
  value = 1,
  text = NULL,
  session = getDefaultReactiveDomain()
)

Arguments

expr

The work to be done. This expression should contain calls to setProgressAttendantorincProgressAttendant'.

...

Passed to the Attendant constructor (Attendant$new()).

session

The Shiny session object, as provided by shinyServer to the server function. The default is to automatically find the session by using the current reactive domain.

env

The environment in which expr should be evaluated.

quoted

Whether expr is a quoted expression (this is not common).

value

Value to set the waitress to or increase it by.

text

Text to display on the progress bar.


waiter documentation built on Jan. 3, 2022, 5:13 p.m.