Package oolong.effect

Functions

Link copied to clipboard
fun <Msg> batch(vararg effects: Effect<Msg>): Effect<Msg>
fun <Msg> batch(effects: Iterable<Effect<Msg>>): Effect<Msg>

Compose effects into a single Effect.

Link copied to clipboard
fun <A, B> map(effect: Effect<A>, f: (A) -> B): Effect<B>

Map effect of type A to Effect of B using f.

Link copied to clipboard
fun <Msg> none(): Effect<Msg>

Create an empty Effect.