use

fun use(actOn: (Value) -> Unit): Result<Error, Value>

Use the data of a successful result.

Use the data of a successful result in the middle of a computation chain.

Return

the original result.

Parameters

actOn

the action to be executed with the value.