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
In this example, then(function (value) {}, ...) and the next function (err) {} has each parameter, value and err.
But, when I tested this code template, value and err were always undefined.
Of course, I added my own code to make success and error.
When are they used? How can I use them?
Could you please advise me with a simple example?
The text was updated successfully, but these errors were encountered:
In this example,
then(function (value) {}, ...)
and the nextfunction (err) {}
has each parameter,value
anderr
.But, when I tested this code template,
value
anderr
were alwaysundefined
.Of course, I added my own code to make success and error.
When are they used? How can I use them?
Could you please advise me with a simple example?
The text was updated successfully, but these errors were encountered: