Skip to content

Replace successes with PromiseKit's when#67

Open
andreterron wants to merge 1 commit intotmandry:mainfrom
andreterron:promise-when
Open

Replace successes with PromiseKit's when#67
andreterron wants to merge 1 commit intotmandry:mainfrom
andreterron:promise-when

Conversation

@andreterron
Copy link
Copy Markdown

The successes function behavior can be achieved using PromiseKit's when(fulfilled:) and Promise.recover.

This reduces the need to keep up with the ids for errors, and means one less helper function to be maintained

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.

1 participant