The number of subscribed listeners.
Synchronously invokes listeners with the published message.
The published message.
Waits for a message that satisfies the given predicate to be published and resolves with that message.
An AbortablePromise that resolves with the published message that satisfies the predicate.
Waits for a message that satisfies the given predicate to be published and resolves with that message.
A function that takes the message as a parameter and returns true if the message satisfies the condition, otherwise false.
An AbortablePromise that resolves with the published message that satisfies the predicate.
Publish–subscribe pattern implementation that guarantees the delivery of published messages even if any of listeners would throw an error.