On Sat, 04 Mar 2017 13:24:08 -0800, comdog wrote:
> This is the example from the Tap docs. I expect the output to be
> "Tap closed", but I get no output using 2017.01:
> 
>     my $s = Supplier.new;
>     my $tap = $s.Supply.tap(
>         -> $v { say "the value is $v" },
>         done    => { say "Supply is done" },
>         closing => { say "Tap closed" },
>         quit    => -> $ex { say "Supply finished with error $ex" },
>     );
> 
>     # later
>     $tap.close;


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.

Reply via email to