Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow search by multiple options of one type in one call #65

Open
mcorrigan opened this issue Jul 24, 2023 · 1 comment
Open

Allow search by multiple options of one type in one call #65

mcorrigan opened this issue Jul 24, 2023 · 1 comment

Comments

@mcorrigan
Copy link

mcorrigan commented Jul 24, 2023

It would be great to be able to pass an array of possible values to match and get all the results back at once. I realize that it is possible to do them one at a time, but this seems like it could be more performant if the library handles it.

for instance:
find('pid', [1234. 2345]);

This could return 0-2 results.

For ports, you would likely need to include this #33 so that we can tell which ones matched.

@yibn2008
Copy link
Owner

Sorry I don't have plan to support this feature so far as it was designed to find single process.

I will merge your PR if it's well designed~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants