core-async

Quentin Le Guennec 2022-10-25T10:04:38.079369Z

Can I wait for a future to complete in a go block, such as taking from the go channel takes from the completed future result?

vlaaad 2022-10-25T11:13:28.927349Z

(a/thread @(future ...)) ?

vlaaad 2022-10-25T11:18:44.481829Z

You can also use CompletableFuture to not block a thread but instead add a callback that will submit a value to the channel

Quentin Le Guennec 2022-10-25T11:37:47.186839Z

oh yeah makes sense, thanks

2022-10-25T20:28:05.471419Z

Why is it called a ManyToManyChannel?

2022-10-26T17:58:13.201699Z

Does that mean anything can >! into it or <! from it?

Alex Miller (Clojure team) 2022-10-26T18:03:30.777899Z

any number of things can >! or <! (or >!! or <!!)

Alex Miller (Clojure team) 2022-10-25T20:59:21.082689Z

many producers / many consumers