Skip to contents

Calls shiny modules for the given element (workspace, stack, block).

Usage

generate_server(x, ...)

# S3 method for class 'result_field'
generate_server(x, ...)

# S3 method for class 'data_block'
generate_server(x, id, ...)

# S3 method for class 'transform_block'
generate_server(x, in_dat, id, is_prev_valid, ...)

# S3 method for class 'plot_block'
generate_server(x, in_dat, id, is_prev_valid, ...)

# S3 method for class 'stack'
generate_server(
  x,
  id = NULL,
  new_block = NULL,
  workspace = get_workspace(),
  ...
)

# S3 method for class 'workspace'
generate_server(x, id, ...)

Arguments

x

Object for which to generate a moduleServer()

...

Generic consistency

id

Unique module id. Useful when the workspace is called as a module.

in_dat

Reactive input data

is_prev_valid

Useful to validate the current block

new_block

For dynamically inserted blocks.

workspace

Stack workspace