StateRegistry

constructor(userStateFlow: StateFlow<User?>, latestUsers: StateFlow<Map<String, User>>, job: Job, now: () -> Long, scope: CoroutineScope)

Parameters

userStateFlow

The state flow that provides the user once it is set.

latestUsers

Latest users of the SDK.

job

A background job cancelled after calling clear.

scope

A scope for new coroutines.