streamly
streamly copied to clipboard
Concurrent folds: add a time tick in the input stream
To check the result of the fold even if there is no input to drive it. See the takeInterval in concurrent fold module, it does not terminate after the interval is over until an input arrives.