We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The test currently passes, but if we queue the events, it fails. This code illustrates the problem:
click = increment: new EventEmitter decrement: new EventEmitter i = flow [ events "change", click.increment map -> 1 ] j = flow [ events "change", click.decrement map -> -1 ] k = flow [ combine i, j accumulate ((a, b) -> a + b), 0 ] # inc, dec click.increment.emit "change" assert (yield next k).value == 1 click.decrement.emit "change" assert (yield next k).value == 0 click.increment.emit "change" click.decrement.emit "change" click.increment.emit "change" assert (yield next k).value == 1 assert (yield next k).value == 2 assert (yield next k).value == 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The test currently passes, but if we queue the events, it fails. This code illustrates the problem:
The text was updated successfully, but these errors were encountered: