set Fiber Continuations Tracking Work
fun setFiberContinuationsTrackingWork( fiber: A_Fiber, onSuccess: (AvailObject) -> Unit, onFailure: (Throwable) -> Unit)
Content copied to clipboard
Set up the given fiber to eventually invoke either the onSuccess or the onFailure continuation, but not both. However, immediately record the fact that we're expecting one of these to be eventually invoked, and wrap the continuations with code that will invoke getNoMoreWorkUnits when the number of outstanding tasks reaches zero.