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
My point was that universalify doesn't work with things like fs.read(), which has a callback with arguments of the form: (err, bytesRead, buffer). For such a case, universalify won't pass the buffer argument as part of the promise resolution value.
There's nothing that expressly prevents you from using universalify with such functions if you don't care about the third argument, it's just a warning that universalify won't handle the third argument.
Where does this limit appear?
The limits I found were:
universalify/index.js
Lines 8 to 11 in ab4b5cd
That indicates you only support
err
andres
. eg(err => res => void)
.universalify/index.js
Line 23 in ab4b5cd
And the same here.
The text was updated successfully, but these errors were encountered: