Interface PublishOptions

Index

Properties

Properties

optional public async?: boolean

If you wish to notify the subscribers but return from the publish() call before the subscriber functions execute, use asynchronous mode

optional public cancelable?: boolean

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.

optional public persist?: boolean

If the publishers wants subscribers to be notified even if they subscribe later, setting the persist flag will do that.