of

open fun <R> of(value: R): LambdaSafe.InvocationResult<R>

Create a new InvocationResult instance with the specified value.

Return

an InvocationResult

Parameters

value

the value (may be null)

<R>

the result type