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
At the moment if StringObservable.decode is called on a stream of byte[] and the source stream completes with bytes left over in the buffer (more is required before a string can be emitted) then the observable effectively hangs (onCompleted is not called). Because this situation cannot be distinguished from the source not completing or hanging I'd like to see StringObservable.decode call onError with some custom exception type that can be ignored if people wish using the normal means.
Are people ok with me submitting a PR for this?
The text was updated successfully, but these errors were encountered:
At the moment if
StringObservable.decode
is called on a stream ofbyte[]
and the source stream completes with bytes left over in the buffer (more is required before a string can be emitted) then the observable effectively hangs (onCompleted
is not called). Because this situation cannot be distinguished from the source not completing or hanging I'd like to seeStringObservable.decode
callonError
with some custom exception type that can be ignored if people wish using the normal means.Are people ok with me submitting a PR for this?
The text was updated successfully, but these errors were encountered: