Learn R Programming

blockr.core (version 0.1.3)

destroy_module: Destroy a Shiny module

Description

Cleans up inputs, outputs and/or observers associated with a Shiny module.

Usage

destroy_module(
  id,
  what = c("inputs", "outputs", "observers"),
  session = get_session()
)

Value

The namespaced id (invisibly).

Arguments

id

Module namespace id.

what

Character vector indicating which components to destroy. Defaults to all of "inputs", "outputs" and "observers".

session

Shiny session object.