Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

IterateeSubscriber feeds EOF into the iteratee onComplete #2

Open
wsargent opened this issue Apr 9, 2016 · 0 comments
Open

IterateeSubscriber feeds EOF into the iteratee onComplete #2

wsargent opened this issue Apr 9, 2016 · 0 comments

Comments

@wsargent
Copy link
Member

wsargent commented Apr 9, 2016

This shouldn't be done, for example, it breaks the following:

Streams.publisherToEnumerator(somePublisher) >>> Enumerator("foo")

If the IterateeSubscriber (created by the PublisherEnumerator) feeds EOF when the publisher is done, then that means the concatenated enumerator can never be reached because the iteratee it feeds into will go done when it receives the EOF.

Moved from playframework/playframework#4956

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant