stream_file_id: Build the token-qualified stream file identifier

View source: R/stream-viz.R

stream_file_idR Documentation

Build the token-qualified stream file identifier

Description

Combines session$token with id to produce the string used both by stream_path (as the filename stem) and by the browser as the URL path component under stream/.

Usage

stream_file_id(id, session = shiny::getDefaultReactiveDomain(), token = NULL)

Arguments

id

Character scalar. The base stream identifier (no path separators).

session

Shiny session object. Defaults to the active reactive domain.

token

Character scalar or NULL. When NULL (default) the session's own token is used. Override with a parent session token so that a standalone viewer (child session) can address the parent's binary stream file.

Value

Character scalar: "{token}_{id}".

See Also

stream_path, stream_viz, updateStreamViz


shidashi documentation built on April 10, 2026, 5:07 p.m.