Skip to content

Can I feed items into ZSink manually? #7195

Answered by pvgoran
pvgoran asked this question in Q&A
Discussion options

You must be logged in to vote

So apparently the answer to the question "Can I feed items into ZSink manually?" is "No".

However, thanks to @adamgfraser's suggestion, I was able to implement the repeatAndFeedStatus function via streams, see here.

After some more thought, it occured to me that I actually wanted some kind of coroutine mechanics, using a sink as "something to give intermediate results to". I'll write about this separately.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@pvgoran
Comment options

@adamgfraser
Comment options

@pvgoran
Comment options

@adamgfraser
Comment options

@pvgoran
Comment options

Comment options

You must be logged in to vote
2 replies
@pvgoran
Comment options

@pvgoran
Comment options

Comment options

You must be logged in to vote
1 reply
@pvgoran
Comment options

Answer selected by pvgoran
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