(create-pubsub topic)Constructor for a pub-sub messenger. Takes one parameter, a publisher topic, that is used to perform lookups.
Since topics are keywords, the data sent on the publish channel needs to have the topic as one of the keys, or a subscriber will not receive the message.
Constructor for a pub-sub messenger. Takes one parameter, a publisher topic, that is used to perform lookups. Since topics are keywords, the data sent on the publish channel needs to have the topic as one of the keys, or a subscriber will not receive the message.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |