onChange

abstract fun onChange(callback: (SessionData?) -> Unit)

Assign a callback that will be called when the session data changes


abstract val onChange: StateFlow<SessionData?>

Exposes a flow of session data