Documentation for routine done

Documentation for routine done, assembled from the following types:

class Supplier

From Supplier

(Supplier) method done

method done(Supplier:D:)

Calls the done callback on all the taps that have one.

my $supplier =;
my $supply   = $supplier.Supply;
$supply.tap(-> $v { say $v }done => { say "no more answers" });

Will output:

no more answers

class Tap

From Tap

(Tap) method done

method done(Tap:D:)

Returns the callback that is called on successfully shutting down a channel, if any.