gh-pages / com.nextfaze.devfun.invoke / Invoker / invoke
invoke
abstract fun invoke(item:
FunctionItem
):
InvokeResult
?
(source)
Invokes a function item, using the invocation UI if needed.
Any exceptions thrown during invocation should be caught and returned as an InvokeResult - exception for DebugException, which is intended to crash the app and should simply be re-thrown when encountered.
Return
The result of the invocation and/or any exception thrown (other than DebugException).
If the result is null
then the invocation is pending user interaction.
abstract fun invoke(function:
UiFunction
):
InvokeResult
?
(source)
Invokes a function using the invocation UI.
Parameters
function
- The function description.
Return
The result of the invocation and/or any exception thrown (other than DebugException).
If the result is null
then the invocation is pending user interaction.