mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-07 13:15:00 -05:00
Use proper promise:: prefix
This commit is contained in:
@@ -165,7 +165,7 @@ drawPlot <- function(name, session, func, width, height, pixelratio, res, ...) {
|
||||
domain <- createGraphicsDevicePromiseDomain(device)
|
||||
grDevices::dev.control(displaylist = "enable")
|
||||
|
||||
p1 <- with_promise_domain(domain, {
|
||||
p1 <- promise::with_promise_domain(domain, {
|
||||
p2 <- promise::resolved(func())
|
||||
p2 <- promise::then(p2, function(value, visible) {
|
||||
if (visible) {
|
||||
|
||||
Reference in New Issue
Block a user