asyncBar1: R6 Class asyncBar1

asyncBar1R Documentation

R6 Class asyncBar1

Description

Reports async class progress with a default shiny bar to end user.

Methods

Public methods


Method new()

Interactive environment to create a progress bar of async tracking.

Usage
asyncBar1$new(async, id, interval = 1000, max.rep = 50)
Arguments
async

R6 class. Object to tracking routines.

id

character. ID of progress bar.

interval

numeric. Approximate number of milliseconds to wait between checks of the job progress.

max.rep

numeric. Maximum number of times that a progress value can be repeated.


Method progress()

observe event to checks of the async job progress.

Usage
asyncBar1$progress(session, input)
Arguments
session

shiny session

input

shiny input


Method finalize()

Close all routines of async bar.

Usage
asyncBar1$finalize()

Method clone()

The objects of this class are cloneable with this method.

Usage
asyncBar1$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


meantrix/async documentation built on June 27, 2023, 3:01 p.m.