Documentation for routine quit

Documentation for routine quit, assembled from the following types:

class Supplier

From Supplier

(Supplier) method quit

multi method quit(Supplier:D: Exception $ex)
multi method quit(Supplier:D: Str() $message)

Calls the quit callback on all the taps that have one, passing the exception to them. If called with a Str the exception will be an X::AdHoc with the supplied message.

This is meant for shutting down a supply with an error.

class Tap

From Tap

(Tap) method quit

method quit(Tap:D:)

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