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

func race(fulfilled:) #1125

Merged
merged 10 commits into from
May 24, 2021
Merged

func race(fulfilled:) #1125

merged 10 commits into from
May 24, 2021

Conversation

RomanPodymov
Copy link
Collaborator

Hello.
Thank you for PromiseKit.
In this pull request I added race(fulfilled:) proposed in the comment for #1123. This function is similar to race(), but it skips all rejected promises. If there is no winner race(fulfilled:) returns a new Promise rejected with PMKError.noWinner.

@ekazaev
Copy link

ekazaev commented May 19, 2020

Any update?

@icedice
Copy link

icedice commented Nov 16, 2020

Whats the status on this. It's basically what I need right now...

@mxcl mxcl force-pushed the master branch 8 times, most recently from caddf7d to 0122f95 Compare May 24, 2021 16:06
@mxcl mxcl merged commit 70bbcee into mxcl:master May 24, 2021
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

Successfully merging this pull request may close these issues.

4 participants