Skip to content

Execute listeners in parallel? #3

@eshao

Description

@eshao

Hello,

I've been using your library for a year and a half and been very pleased so far. Good work!

In the newest version, is there a way to execute two or more listeners in parallel instead of the deterministic, sequential order noted in the documentation? To give an example use case, two caches may listen on a get event and whichever returns first is returned to the emitter. Both cache gets are async so executing them sequentially will be quite slow.

If this feature is present, could you update the documentation?
If not, please consider this a feature request. (I think this feature was in previous versions of your code?)

Thanks,
Edwin

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