Skip to content
Discussion options

You must be logged in to vote

You make a request of (up to) 10 items, but you generate pairs in lists, then disjoint picks those items to "flatten" the list, so at the generator level you haven't reached i=5 yet. If you change the initial request to 20, you will receive a completion.

Remember that demand applies to the last operator in the pipeline first, so requesting 10 in your example applies to the disjoint operator, not to the generator.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by victpork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants