void

open override fun void(): IO<Unit>

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

Return

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