Fork me on GitHub
#core-async
<
2019-10-22
>
Jakub Holý (HolyJak)12:10:15

I guess I am blind. Why does this return nil (even if poll! executed repeatedly)?

(def ch (a/onto-chan (a/chan 1) [:hi]))
  (a/poll! ch)
Ah, I see! Of course it does not return the channel with the items...

duckie 4