runDestroyExample.Rd
To see how the `shiny.destroy` works, examples are provided within the package.
runDestroyExample(example = NA, ...)
The shiny application displayed in the specified location.
The following examples are available:
A simple application where the "create" button will load a simple box with a "destroy" button. This highlights the full removal of the module when the button is pressed.
An application that has 2 side by side modules, one using {shiny} to remove the UI and the other using {shiny.destroy} to fully remove the boxes to display the incremental time gain from removing the long-running observers.
if (FALSE) { # interactive()
runDestroyExample("01_boxes")
}