Progress bar with promises in async Shiny



I’ve been playing around with the shiny async dev repo and am loving it! One thing I’m having trouble with is adding progress bars that persist until the promise is fulfilled. I seem to remember them working during Joe’s presentation at rstudio::conf. Is this possible?


Just to be clear, if I remember properly from the presentation, Joe was using spinners and not progress bars. I’m not sure whether information about progress would be transmitted through the async operation or not.

In any case, these might be helpful / useful, if you’re not already aware:


Thanks, this works perfect for my use case!


Good question! I specifically asked Joe at the end of his async talk if progress bars were supported, and he definitively answered no. That’s what I assumed after seeing how async worked, as I believe there is no standardized way for different R sessions to communicate with each other.