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
1 function actuallyTransfer(from, to, amount) {
2 // do something
3 }
4
5 var invokeTransfer = once(maybe(actuallyTransfer(...)));
Should this perhaps be written as once(maybe(actuallyTransfer))(...)? To the best of my understanding, the decorators once and maybe should take in a function rather than a value.
The text was updated successfully, but these errors were encountered:
1 function actuallyTransfer(from, to, amount) {
2 // do something
3 }
4
5 var invokeTransfer = once(maybe(actuallyTransfer(...)));
Should this perhaps be written as once(maybe(actuallyTransfer))(...)? To the best of my understanding, the decorators once and maybe should take in a function rather than a value.
The text was updated successfully, but these errors were encountered: