If you wish to notify the subscribers but return from the publish() call before the subscriber functions execute, use asynchronous mode
By default, subscribers can return "false" to prevent subsequent subscribers from receiving the message. By passing cancelable:false in the options, the publisher can prevent canceling.
If the publishers wants subscribers to be notified even if they subscribe later, setting the persist flag will do that.