domainslib
domainslib copied to clipboard
Why is `Task.async`'s callback a thunk only?
i.e. why is its type not in the form of: pool -> ('a -> 'b) ->/* 'a -> 'b promise? Similar in spirit to Thread.create