sever icon indicating copy to clipboard operation
sever copied to clipboard

Add an observable input

Open ar0ch opened this issue 4 years ago • 0 comments

Right now sever/rupture don't actually close the session (despite the naming), this PR adds an observable input (default ruptured). This allows the users to easily watch for the rupture event and do any clean up they need. For example, to automatically close the session server-side instead of waiting for the timeout:

observeEvent(input$ruptured, {
    session$close()
    }) 

ar0ch avatar Oct 22 '20 22:10 ar0ch