effects

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.

Return

a mutable set of effects