You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use bufferUntil with a custom List<DataBuffer> to keep track and enforces a limit on the total number of bytes buffered. I could use something more custom for this, like handle but then I lose the ability to release cached items via doOnDiscard. As far as I can see there is currently no way to do "buffer until" with a custom custom Collection like it is possible with the collect operator.
The text was updated successfully, but these errors were encountered:
Coming back to this one, @rstoyanchev would the combination of windowUntil + collect work? Since the collect operator should now correctly discard as of #1924
It may be possible but I can't verify because the step before bufferUntil is concatMapIterable which produces a collection of allocated items and those don't seem to pass through doOnDiscard in case of a downstream error. Could there be an issue with concatMapIterable?
I want to use
bufferUntil
with a customList<DataBuffer>
to keep track and enforces a limit on the total number of bytes buffered. I could use something more custom for this, likehandle
but then I lose the ability to release cached items viadoOnDiscard
. As far as I can see there is currently no way to do "buffer until" with a custom customCollection
like it is possible with thecollect
operator.The text was updated successfully, but these errors were encountered: