Fork me on GitHub
#beginners
<
2023-02-06
>
AC03:02:46

what's the preferred clojure idiom for waiting for input from multiple streams (akin to select(2)) -- core.async + alts!!, building on top of java.nio, or something else?

AC03:02:24

and what I really find myself wanting is something like alts!! but with channels and input-streams.

hiredman03:02:46

There is nothing you can do with inputstreams

hiredman03:02:59

With channels you use a selector

hiredman04:02:40

Assuming you meant java.nio.channels

hiredman04:02:58

There are some libraries aleph and manifold which are somewhat core.async like, but more IO focused, built on top of netty

AC04:02:50

thanks. that re-affirms what I was seeing in my searches.