-
-
Notifications
You must be signed in to change notification settings - Fork 0
raceUntil #5
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestiterablesFor iterable methods (aka: collection methods)For iterable methods (aka: collection methods)raceVariations on the 'race' functionVariations on the 'race' function
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestiterablesFor iterable methods (aka: collection methods)For iterable methods (aka: collection methods)raceVariations on the 'race' functionVariations on the 'race' function
It'd be nice to have a variation of
racewhich 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.