graphmine-util / io.github.sof3.graphmine.util.string / FormattedStringReader / exec
inline fun exec(fn: () -> Unit): Unit
Executes a function that may modify the state of this object, but upon completion, the state is reset.
This is semantically equivalent to executing the function on a clone of this object