ocaml-multicore / picos

Interoperable effects based concurrency
https://ocaml-multicore.github.io/picos/doc/picos/index.html
ISC License
86 stars 3 forks source link

Add a many-to-many, poisonable stream #163

Closed polytypic closed 2 months ago

polytypic commented 4 months ago

This PR adds a many-to-many, poisonable (i.e. closable) stream to the Picos_sync. This is inspired by the Multicast channel provided by Concurrent ML and can be useful for a variety of purposes.