success

fun <T> success(value: T): SwitchboardResult<T>

Creates a successful result holding the given value.

Return

A successful result.

Parameters

value

The value to wrap.