observe Closed
Returns a Flow that emits when the active session is closed.
The flow emits SessionClosedEvent with details about why the session was closed. The flow will only emit events for the current active session.
Return
Flow of session closed events.
Throws
if no active session exists when the flow is collected.