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

raceUntil #5

Open
RobertFischer opened this issue Nov 16, 2020 · 0 comments
Open

raceUntil #5

RobertFischer opened this issue Nov 16, 2020 · 0 comments
Labels
enhancement New feature or request iterables For iterable methods (aka: collection methods) race Variations on the 'race' function

Comments

@RobertFischer
Copy link
Owner

It'd be nice to have a variation of race which tests the results, and returns the first entry that passes the test (instead of the first entry to resolve at all). A use case would be querying multiple systems for a user's information, and only wanting the first one that returned with a meaningful result.

@RobertFischer RobertFischer added enhancement New feature or request race Variations on the 'race' function labels Nov 16, 2020
@RobertFischer RobertFischer added the iterables For iterable methods (aka: collection methods) label Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request iterables For iterable methods (aka: collection methods) race Variations on the 'race' function
Projects
None yet
Development

No branches or pull requests

1 participant