Module
Threading.Channel
- Package
- purescript-threading
- Repository
- cakekindel/purescript-threading
#Channel Source
data Channel a
A multi-producer multi-consumer channel for communication between threads.
Senders will broadcast messages to all living receivers, doing nothing if there are no receivers.
Receivers can wait for messages to be sent. Messages that
are sent while the receiver is not waiting will be buffered,
and recv
d in the order they were sent.