suspend In Safe Point Then
fun suspendInSafePointThen(action: Interpreter.SuspensionHelper<A_BasicObject>.() -> Unit): Primitive.Result
Content copied to clipboard
Suspend the current fiber, evaluating the provided action. The action is passed two additional actions, one indicating how to resume from the suspension in the future (taking the result of the primitive), and the other indicating how to cause the primitive to fail (taking an AvailErrorCode).
Return
The value FIBER_SUSPENDED.
Parameters
action
The action supplied by the client that itself takes two actions for succeeding and failing the primitive at a later time.