Skip to content

PromisePoolCluster missing functionality #1381

Closed
@sjones512

Description

@sjones512

Tried to use the PromisePoolCluster implementation that was recently included.

It appears to be missing at least the remove inherited event. Not sure if there are others.
It also doesn't support passing a pattern or selector to getConnection.

Seems like you maybe be able to workaround the first by using promisePoolCluster.poolCluster.on('remove'...
And I suppose you can always workaround the second by refactoring your code to call .of(pattern, selector), but it seems like these should be added to match the documentation for PoolCluster.

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