first

fun <M, F> first(model: M, effects: Set<F> = emptySet()): First<M, F>
fun <M, F> first(model: M, vararg effects: F): First<M, F>

Create a First with the provided model and the optional initial effects.

Parameters

model

the model to initialize the loop with

M

the model type

F

the effect type