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
Tap's closing callback doesn't call back #6125
Comments
From @briandfoyThis is the example from the Tap docs. I expect the output to be my $s = Supplier.new; # later |
From @zoffixznetOn Sat, 04 Mar 2017 13:24:08 -0800, comdog wrote:
I don't see `closing` param for that routine: https://github.com/rakudo/rakudo/blob/b597398/src/core/Supply.pm#L77 Unless this was missed during pre-Christmas Supplies rework, this may be just a doc bug. |
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Sat, 04 Mar 2017 13:40:22 -0800, cpan@zoffix.com wrote:
It's a doc bug (and, yes, probably a left-behind from an earlier design). The correct way is using `on-close`. Example: my $t = Supply.interval(0.5).on-close({ say "bye" }).tap(&say); |
From @lizmat
I wonder whether these “public” functions should handle / warn about unknown named parameters being passed. |
From @dogbert17On Wed, 08 Mar 2017 13:25:56 -0800, elizabeth wrote:
The docs have been updated in order to reflect current behavior, see for example: https://docs.perl6.org/type/Supply#method_on-close and https://docs.perl6.org/type/Tap Closing issue |
@dogbert17 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130920 (status was 'resolved')
Searchable as RT130920$
The text was updated successfully, but these errors were encountered: