Welcome! Please see the About page for a little more info on how this works.

0 votes
in core.async by

If there is no subscriber for a topic the message gets silently dropped. I suggest to add an optional default channel that receives all those messages. The default channel can then be used in scenarios, where the complete set of topics might be unknown beforehand.
This functionality resembles the 'dead letter' pattern in messaging systems.

2 Answers

0 votes
by

Comment made by: terje

I second supporting a default channel for {{pub}}. Use cases include:

  1. Report missing/unsubscribed topics, aiding in development and debugging.
  2. Catch messages entering before topics have been subscribed, providing a means to expose messages otherwise dropped due to late/delayed subscriptions.
  3. Chain publications with different topic-fns.
0 votes
by
Reference: https://clojure.atlassian.net/browse/ASYNC-46 (reported by smee)
...