when Continuation Is Available Do
fun A_Fiber.whenContinuationIsAvailableDo(whenReified: (A_Continuation) -> Unit)
Content copied to clipboard
Ensure the specified action is invoked with this fiber's reified continuation as soon as it's available. Note that this triggers an interrupt on the fiber to ensure a timely capture of the stack.
Parameters
when Reified
What to run with the Avail continuation.