I have an asynchronous calculation like the following (see inline comments):
async {
In order to force the revocation check / complete the entire asynchronous calculation before reaching the βregularβ part of the calculation, I insert an effective no-op do! Async.Sleep(1) do! Async.Sleep(1) immediately after do! Async.Sleep(100) do! Async.Sleep(100) . Is there a cleaner way to do this? Maybe even something like do! Async.Nop do! Async.Nop .
source share