core-async

Jakub HolĂ˝ 2019-10-22T12:05:15.027Z

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...

1