Effects

object Effects

Utility class for working with effects.

Functions

Link copied to clipboard
fun <F, G : F> effects(vararg effects: G): Set<F>

Convenience method for instantiating a set of effects. Note that this returns a mutable set of effects to avoid creating too many copies - the set will normally be added to a Next or First, leading to another safe-copy being made.