% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stream.R
\name{stream_path}
\alias{stream_path}
\title{Get the absolute path for a shidashi stream file}
\usage{
stream_path(id, session = shiny::getDefaultReactiveDomain())
}
\arguments{
\item{id}{Character scalar. Stream identifier.  Must be a valid file-name
component (no path separators).}

\item{session}{Shiny session object.  Defaults to the currently active
reactive domain.}
}
\value{
Invisible character scalar: absolute path to the \code{.bin} file.
}
\description{
Returns the full path to the binary file that will be served at
\code{stream/{token}_{id}.bin}.  The filename embeds the session token so
that simultaneous Shiny sessions never overwrite each other's data.
Call \code{\link{stream_init}} at least once per session before relying on
this function.
}
\seealso{
\code{\link{stream_init}}, \code{\link{stream_to_js}}
}
