moduleServer {tabler}R Documentation

Create a Namespaced Module Server

Description

Dependency-free equivalent of shiny::moduleServer(). 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

moduleServer(id, module, session = getDefaultReactiveDomain())

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 tablerApp session (see getDefaultReactiveDomain).

Value

The return value of module, invisibly.

Loading...