If you explicitly mark that region as interruptibleinterruptible, ie:
...
//TODO: why doesn't forkScoped work here? If I use it then when I close the outer scope it hangs and never finishes closing!
T.interruptible,
T.forkScoped
...
...
//TODO: why doesn't forkScoped work here? If I use it then when I close the outer scope it hangs and never finishes closing!
T.interruptible,
T.forkScoped
...
... //TODO: why doesn't forkScoped work here? If I use it then when I close the outer scope it hangs and never finishes closing! T.interruptible, T.forkScoped...
... //TODO: why doesn't forkScoped work here? If I use it then when I close the outer scope it hangs and never finishes closing! T.interruptible, T.forkScoped...