Learn R Programming

shiny.destroy (version 0.1.0)

addDestroyers: Add shiny.destroy Code to Module

Description

For a given `moduleServer` call, add the code required for {shiny.destroy} to work. This will involve creating the observer list to the user session, and adds all observers within the list.

Usage

addDestroyers(module)

Value

An updated version of `module`, where the {shiny.destroy} code has been added.

Arguments

module

The function call to `moduleServer`