Creates a separate Arbiter instance.
Publishes a message to all subscribers. Returns: true on success, false if any subscriber has thrown a js exception.
Message may be in any format, but may not contain [ ,*]. A structure like a/b/c is recommended by convention, to allow messages to be categorized.
Pass data to subscribers that contains details about the message.
boolean
After unsubscribing, you can later re-subscribe to begin receiving messages again.
boolean
Subscribes to messages. Returns: subscription id or [id1,id2] if subscribing to multiple messages
comma separated messages or use wildcard like a/b/*
any
Subscribes to messages. Returns: subscription id or [id1,id2] if subscribing to multiple messages
comma separated messages or use wildcard like a/b/*
any
Subscribes to messages. Can use comma separated or wildcards in message. Returns: subscription id or [id1,id2] if subscribing to multiple messages
any
Subscribes to messages. Returns: subscription id or [id1,id2] if subscribing to multiple messages
comma separated messages or use wildcard like a/b/*
any
Subscribes to messages. Returns: subscription id or [id1,id2] if subscribing to multiple messages
comma separated messages or use wildcard like a/b/*
any
Subscribes to messages. Returns: subscription id or [id1,id2] if subscribing to multiple messages
comma separated messages or use wildcard like a/b/*
any
Unsubscribing simply sets a flag which prevents the subscriber from executing, in case you want to re-subscribe later.
boolean