-
onyedikachi#4413 on Discord's question
const [ timeRemaining, keepGoing ] = makeDeadline(deadline);
const [IusersPaid, InumUsers] =
parallelReduce([ usersPaid, numUsers ])
.invariant(balance() == numUsers * amt)
.while(keepGoing())
.api(
C.contribute,
> () => amt, // Error here
(returnFunc) => {
contributorsSet.insert(this);
InumUsers += 1;
returnFunc(null)
return [usersPaid, numUsers]
}
)
.timeRemaining(timeRemaining());;
|
Beta Was this translation helpful? Give feedback.
Answered by
hmzdot
May 9, 2022
Replies: 1 comment 4 replies
-
What is the signature of the |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
jeapostrophe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the signature of the
C.contribute
?