Safe Haskell | None |
---|
This is a simple utility module to implement a publish-subscribe pattern. Note that this only allows communication in a single direction: pusing data from the server to connected clients (browsers).
Usage:
Documentation
subscribe :: Protocol p => PubSub p -> WebSockets p ()Source
Blocks forever