Fork me on GitHub
#core-async
<
2017-07-10
>
zcaudate01:07:05

is there a canonical way to use the async/chan as a promise?

zcaudate01:07:58

like basically, a channel that only allows one write and closes after it is written and read

zcaudate02:07:15

written to and read

barry02:07:04

I think promise-chan is what you’re looking for https://clojuredocs.org/clojure.core.async/promise-chan