TestChildLoop
class TestChildLoop(model: TestModel, renderer: Renderer<TestState, TestModel>, args: TestArgs? = null, onStart: ActionEmitter<TestModel, TestDependency>.() -> Unit = {}, dependency: TestDependency? = null, effectContext: CoroutineContext = DispatcherProvider.Default) : Loop<TestState, TestModel, TestArgs, TestDependency, TestAction>
Child loop used in library tests.
Constructors
Link copied to clipboard
constructor(model: TestModel, renderer: Renderer<TestState, TestModel>, args: TestArgs? = null, onStart: ActionEmitter<TestModel, TestDependency>.() -> Unit = {}, dependency: TestDependency? = null, effectContext: CoroutineContext = DispatcherProvider.Default)
Functions
Link copied to clipboard
Apply new arguments to this loop.
Link copied to clipboard
fun <TState : Any, TModel : Any, TArgs, TDependency, TAction : Action<TModel, TDependency>, TLoopBuilder : LoopBuilder<TState, TModel, TArgs, TDependency, TAction>> Loop<TState, TModel, TArgs, TDependency, TAction>.asBuilder(): TLoopBuilder
Link copied to clipboard
Attach this loop as a child to another loop.
Link copied to clipboard
Emit an action to change the state or trigger an effect.