This is probably super-easy because you just don't have to worry about concurrency at all. Given an Async[F], you can do a stupid-simple UnsafeBounded and UnsafeUnbounded from #2885 that should run faster on JavaScript than the JVM versions (which have to guard a lot of complex multi-threaded cases).
The main problem is that we probably shouldn't do this until we have benchmarking infrastructure for ScalaJS. This is unquestionably worth doing in and of itself.
This is probably super-easy because you just don't have to worry about concurrency at all. Given an
Async[F]
, you can do a stupid-simpleUnsafeBounded
andUnsafeUnbounded
from #2885 that should run faster on JavaScript than the JVM versions (which have to guard a lot of complex multi-threaded cases).The main problem is that we probably shouldn't do this until we have benchmarking infrastructure for ScalaJS. This is unquestionably worth doing in and of itself.