We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, this waits until input$state is a value other than NULL or "".
input$state
""
for (i in 1:100) { state <- try(app$getValue("state", "input")) if (inherits(state, "try-error") || identical(state, "")) { Sys.sleep(0.2) } else { break } }
As seen in https://github.com/rstudio/shinycoreci-apps/blob/73997616e9d2f6584cded524ad46faf44154d4e2/021-selectize-plot/tests/shinytests/mytest.R
This should also be documented on the website, possibly in the FAQ.
Also, we might need to check how long getValue will block for before it times out. Ideally, we'd be able to call it with a short timeout.
getValue
The text was updated successfully, but these errors were encountered:
app$waitForValue
schloerke
Successfully merging a pull request may close this issue.
For example, this waits until
input$state
is a value other than NULL or""
.As seen in https://github.com/rstudio/shinycoreci-apps/blob/73997616e9d2f6584cded524ad46faf44154d4e2/021-selectize-plot/tests/shinytests/mytest.R
This should also be documented on the website, possibly in the FAQ.
Also, we might need to check how long
getValue
will block for before it times out. Ideally, we'd be able to call it with a short timeout.The text was updated successfully, but these errors were encountered: