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
Instead of flushing on the next event from the source stream. So it should rather be like:
var foo = Kefir.sequentially(100, [1, 2, 3, 4, 5, 6, 7, 8]); var bar = Kefir.sequentially(200, [false, true, false]).delay(40); var result = foo.bufferWhileBy(bar); result.log();
> [sequentially.bufferWhileBy] <value> [1, 2] > [sequentially.bufferWhileBy] <value> [3] > [sequentially.bufferWhileBy] <value> [4] > [sequentially.bufferWhileBy] <value> [5, 6] > [sequentially.bufferWhileBy] <value> [7] > [sequentially.bufferWhileBy] <value> [8] > [sequentially.bufferWhileBy] <end>
foo: ----1----2----3----4----5----6----7----8X bar: -----------f---------t---------fX result: -----------•--•----•-----------•--•----•X [1, 2] [3] [4] [5, 6] [7] [8]
The text was updated successfully, but these errors were encountered:
add flushOnChange option to a.bufferWhileBy (rel #116)
flushOnChange
a.bufferWhileBy
8cd3071
I've added an option for this. Will it solve your problem? Also can you try it out before we release (it in master now)?
Sorry, something went wrong.
Here's my implementation where it is flushed this way by default. I'll try your version in few minutes, thank you!
Yes, it works the same way as I expected with even fewer changes, thank you once again! :)
Merge branch 'master' into gh-pages
9d8e6bc
* master: cleanup repository after release 2.7.0 update changelog add `flushOnChange` option to `a.bufferWhileBy` (rel #116) update deps update changelog update changelog
Released in 2.7.0
2.7.0
No branches or pull requests
Instead of flushing on the next event from the source stream. So it should rather be like:
The text was updated successfully, but these errors were encountered: