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
EDIT: Sorry for nonsense request - one of my weaker moments - you can close it.
Hello,
If function passed into pify has only one argument it's usually something like data, result, or so. This callback has only option for success, thus must be used with additional options - errorFirst: false.
Would it be possible to consider change of default behavior, since from #31 we have support for not error first callbacks?
When callback.length is 1, function takes single argument and it would be considered as errorFirst: false by default.
It would be less verbose.
If it would or wouldn't be less clear is on your consideration.
Thank you.
The text was updated successfully, but these errors were encountered:
EDIT: Sorry for nonsense request - one of my weaker moments - you can close it.
Hello,
If function passed into pify has only one argument it's usually something like data, result, or so. This callback has only option for success, thus must be used with additional options - errorFirst: false.
Would it be possible to consider change of default behavior, since from #31 we have support for not error first callbacks?
When callback.length is 1, function takes single argument and it would be considered as errorFirst: false by default.
It would be less verbose.
If it would or wouldn't be less clear is on your consideration.
Thank you.
The text was updated successfully, but these errors were encountered: