Skip to content

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

@Arcanorum

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) => {
    ...
}),

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