Skip to content

Allow subscribing to multiple topics at once with same callback #188

Description

@Arcanorum

Would be nice to be able to set the same callback for multiple topics at once, for cases where you want the same thing to happen for any of a set of events.

Something like

PubSub.subscribe([EVENT_1, EVENT_2, EVENT_3], (msg, data) => {
    ...
}),

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions