bloody-jquery-plugins icon indicating copy to clipboard operation
bloody-jquery-plugins copied to clipboard

Allow callers of publish() to see how many subscribers were notified.

Open bernhard-hofmann opened this issue 13 years ago • 0 comments

Adding a return value to the publish method allows callers to determine how many (if any) subscribers received the topic. This would aid debugging because publishers could take action in the event there are no subscribers to the topic at the time the topic is published.

bernhard-hofmann avatar Mar 18 '11 14:03 bernhard-hofmann