Is there a way to instruct F# to always use threadpool threads for continuations in async computation expressions regardless of the synchronization context?
Sure you use Async.SwitchToThreadPool or another Switch...
method
like this:
async {
do! Async.SwitchToThreadPool ()
// ... your other stuff
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With