module_server {tabler}R Documentation

Create a Namespaced Module Server

Description

Dependency-free equivalent of shiny::module_server(). Wraps input/output so that unprefixed names accessed inside module are automatically namespaced with id, matching the ids produced by ns(id) in the module's UI function.

Usage

module_server(id, module, session = get_default_reactive_domain())

Arguments

id The module's namespace id (must match the id used to call the module's *_ui function).
module A function with signature function(input, output, session).
session The parent session object. Defaults to the currently running tabler_app session (see get_default_reactive_domain).

Value

The return value of module, invisibly.

Loading...