public class KnotBuilder<State,Command>
| Constructor and Description |
|---|
KnotBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Knot<State,Command> |
build() |
<Event> OnEvent<State,Event,Command> |
on(io.reactivex.Observable<Event> source,
kotlin.jvm.functions.Function1<? super de.halfbit.knot.dsl.OnEvent<State,Event,Command>,kotlin.Unit> onEvent) |
void |
state(kotlin.jvm.functions.Function1<? super de.halfbit.knot.dsl.StateBuilder<State>,kotlin.Unit> state) |
public Knot<State,Command> build()
public <Event> OnEvent<State,Event,Command> on(io.reactivex.Observable<Event> source, kotlin.jvm.functions.Function1<? super de.halfbit.knot.dsl.OnEvent<State,Event,Command>,kotlin.Unit> onEvent)
public void state(kotlin.jvm.functions.Function1<? super de.halfbit.knot.dsl.StateBuilder<State>,kotlin.Unit> state)