SideEffectTestContext

class SideEffectTestContext<T>(defaultState: T) : SideEffectContext<T>

Utility class for testing individual SideEffects.

Constructors

Link copied to clipboard
fun <T> SideEffectTestContext(defaultState: T)

Functions

Link copied to clipboard
open suspend override fun currentState(): T

Properties

Link copied to clipboard
open override val actions: Flow<Action>
Link copied to clipboard
val actionsFlow: MutableSharedFlow<Action>
Link copied to clipboard
var activeState: T