-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels