You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That would break code if there is inconsistent callback that sometimes returns one parameter and other time multiple parameter.
For consistency we should always return single parameter or array of parameters. We can default to single parameter as that is most common scenario. we can allow additional options that will dictate array of parameters to be always returned (even if single parameter) promisify(cbFun, { multiArgs: true })
The text was updated successfully, but these errors were encountered: