primitiveSuspend

fun primitiveSuspend(suspendingFunction: A_Function): Primitive.Result

Suspend the current A_Fiber from within a Primitive invocation. The reified A_Continuation will be available in getReifiedContinuation, and will be installed into the current fiber.

Return

Result.FIBER_SUSPENDED, for convenience.

Parameters

suspendingFunction

The primitive A_Function causing the fiber suspension.