BasePlaybackStateRepo

constructor(createInitialState: HotStateFlowRepo<PlaybackState>.() -> PlaybackState, coroutineContext: CoroutineContext)

Parameters

createInitialState

method for creating the initial PlaybackState given an implementation of this HotStateFlowRepo

coroutineContext

the CoroutineContext the CoroutineContext used to create a coroutine scope for this state machine.