run Outermost Function
fun runOutermostFunction( aFiber: A_Fiber, functionToRun: A_Function, arguments: List<A_BasicObject>)
Content copied to clipboard
Schedule the specified fiber to run the given function. This function is invoked via the HookType.BASE_FRAME hook. The fiber must be in the unstarted state. This Kotlin method is an entry point for driving Avail externally.
If the function successfully runs to completion, then the fiber's "on success" continuation will be invoked with the function's result.
If the function fails for any reason, then the fiber's "on failure" continuation will be invoked with the terminal throwable.