Skip to content

Conversation

w3b6x9
Copy link
Member

@w3b6x9 w3b6x9 commented Jan 20, 2022

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

removeAllSubscriptions function breaks React Native apps b/c Promise.allSettled is absent.

What is the new behavior?

Refactor removeAllSubscriptions to use Promise.all instead of Promise.allSettled.

Additional context

Related: supabase/supabase#5058 (reply in thread)

@w3b6x9 w3b6x9 force-pushed the fix/promise-allsettled-refactor branch from 73228bc to 7c166e8 Compare January 20, 2022 01:06
@w3b6x9 w3b6x9 merged commit f9ef9f3 into master Jan 20, 2022
@w3b6x9 w3b6x9 deleted the fix/promise-allsettled-refactor branch January 20, 2022 21:57
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.

2 participants