shiny.session.get_current_session#

shiny.session.get_current_session()#

Get the current user session.

Return type

The current session if one is active, otherwise None.

Note

Shiny apps should not need to call this function directly. Instead, it’s intended to be used by Shiny developing who wish to create new functions that should only be called from within an active Shiny session.