get

open fun get(): R

Return the result of the invocation or null if the callback wasn't suitable.

Return

the result of the invocation or null


open fun get(fallback: R): R

Return the result of the invocation or the given fallback if the callback wasn't suitable.

Return

the result of the invocation or the fallback

Parameters

fallback

the fallback to use when there is no result