Skip to content

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Sep 4, 2019

This is a follow up to #16657 where I wasn't quite happy about losing the usage of invokeGuardedCallbackAndCatchFirstError. This reinstates invokeGuardedCallbackAndCatchFirstError and works around the problem-space by using an inline function to work out the user callback return value.

@sizebot
Copy link

sizebot commented Sep 4, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS against a01f6db

@trueadm trueadm merged commit e86146e into facebook:master Sep 4, 2019
@trueadm trueadm deleted the callback-wrapper branch September 4, 2019 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants