3 ms·
I think you misunderstood what I wrote. Core.async lets you freely mix both. You use the same channels, the only difference being that your coroutine blocks wi
by jwr 8y ago
I think you misunderstood what I wrote.
Core.async lets you freely mix both. You use the same channels, the only difference being that your coroutine blocks will be wrapped in `go` and use `<!` (parks coroutine if it needs to block), while your full threads with be wrapped in `thread` and use `<!!` (blocks). It makes the tradeoffs explicit (the tradeoff always exists) and isn't a problem at all.