void

abstract fun void(): Effect<Unit>

Converts this Effect into an Effect that produces a Unit value.

Return

A new Effect that executes the same computation but discards the result.