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()StreamSession$close()
clone()The objects of this class are cloneable with this method.
StreamSession$clone(deep = FALSE)deepWhether to make a deep clone.