New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supply.done doesn't seem to terminate anything #3617
Comments
From @moritzmoritz> m: my $s = Supply.new; $s.tap(&say); $s.done; $s.emit('still here') This is likely a bug; .done should either shut down the supply (and so |
From @moritzOn Mon Dec 22 06:37:08 2014, moritz wrote:
The same is true for .quit; it doesn't shut down the channel in any way either. Thus there's a currently a big overlap in functionality between quit, done and close, which is very confusing. |
From @jnthnOn Mon Dec 22 06:37:08 2014, moritz wrote:
Supplies now go to some effort to enforce the supply grammar (emit* [done|quit]); you have to go out of your way (like, actually ask for an unsanitized supply) to get the previous behavior (which you may occasionally want to do for performance reasons). Tests in S17-supply/basic.t. Note that values emitted after a done will simply be dropped, so the grammar is followed from an observers point of view. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123477 (status was 'resolved')
Searchable as RT123477$
The text was updated successfully, but these errors were encountered: