Skip Menu |
Report information
Id: 130919
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: comdog <brian.d.foy [at]>

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

To: rakudobug [...]
Subject: Supplier.done is only handled by first tap
From: brian d foy <brian.d.foy [...]>
Date: Sat, 4 Mar 2017 15:26:10 -0300
Download (untitled) / with headers
text/plain 751b
The .done method of a Supplier should call all the done handlers in all the taps that have one. I don't think that's happening in 2017.01. It looks like only the first .tap gets to the done message: my $supplier =; my $supply = $supplier.Supply; $supply.tap( done => { put "1. Done" }, ); $supply.tap( done => { put "2. Done" }, ); $supplier.done; # output only first I get just the first handler: 1. Done And, if the first .tap does not have a done handler, I get no output: my $supplier =; my $supply = $supplier.Supply; $supply.tap( ); $supply.tap( done => { put "2. Done" }, ); $supplier.done; # no output
Download (untitled) / with headers
text/plain 202b
On Thu, 13 Jul 2017 10:54:27 -0700, wrote: Show quoted text
Closing issue. ugexe++

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at