Open hadley opened 4 years ago
This is important for widget$click()
, widget$sendKeys()
and app$setWindowSize()
since these can trigger reactive updates, but don't currently automatically wait for the event loop to complete. app$setInputs()
already has a custom pathway.
One approach from @jcheng5:
This has the advantage of not needing the name of an output you expect to be updated.
Still suffers from the downside that if the reactive code runs (e.g.)
insertUI()
, another independent run of the event loop will trigger, and this isn't guaranteed to wait for it.