Enables or disables a subscription to table data changes. When enabled,
every table.update() triggers input$<outputId>_update
with a list containing timestamp, port_id, and
source ("edit" for user edits, "api" for
programmatic updates).
Arguments
- proxy
A
perspectiveProxyobject.- enable
Logical;
TRUEto subscribe,FALSEto unsubscribe. DefaultTRUE.
Examples
if (interactive()) {
proxy <- perspectiveProxy(session, "viewer")
psp_on_update(proxy)
}