Skip to content

Package oolong.effect - Oolong

oolong / oolong.effect

Package oolong.effect

Functions

Name Summary
(common) batch Compose a collection of Effect into a single Effect.fun <Msg :Any> batch(vararg effects:Effect<Msg>):Effect<Msg>
fun <Msg :Any> batch(effects:Iterable<Effect<Msg>>):Effect<Msg>
(common) disposableEffect Create a Pair of Effect and Dispose.fun <Msg :Any> disposableEffect(effect:Effect<Msg>):Pair<Effect<Msg>,Dispose>
(common) map Map from Effect of A to Effect of Bfun <A :Any, B :Any> map(effect:Effect<A>, f: (A) -> B):Effect<B>
(common) none Create an empty Effect.fun <Msg :Any> none():Effect<Msg>