Skip to content
New issue

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

disable waiter after first displayed result #156

Open
sarabnclui opened this issue Dec 19, 2024 · 0 comments
Open

disable waiter after first displayed result #156

sarabnclui opened this issue Dec 19, 2024 · 0 comments

Comments

@sarabnclui
Copy link

how disable the waiter in the infinite loop, just keep the html display
server <- function(input, output) {

observeEvent (input$execute,{
output$result <- renderUI({

  waiter <- waiter::Waiter$new()
  waiter$show()
  on.exit(waiter$hide())
  HTML(paste0("<span style='color: red;'>","Erreur inconnue, appellez le support", "</span>"))
  while (TRUE) {}
})})

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant