| StreamSession | R Documentation |
Stream Session R6 Class
Stream Session R6 Class
Manages a persistent streaming session
session_idUnique session identifier
historyQuery/response history
activeWhether session is active Initialize session
new()StreamSession$new(session_id)
session_idSession identifier Send query in session
query()StreamSession$query(query, show_output = TRUE)
queryQuery to execute
show_outputShow streaming output
Response text Get session history
get_history()StreamSession$get_history()
Data frame of queries and responses Close session
close()Mark session inactive (client-side). This does not remove any server-side Goose session.
StreamSession$close()
Invisible NULL
clone()The objects of this class are cloneable with this method.
StreamSession$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.