Pipe.onClose

void onClose(CloseCallback callback) @safe

Register callback for close events.

Callback contract: the final callback for this pipe. Fires once on EOF, error, or explicit close. Does not fire after dispose().

Parameters

callbackDelegate invoked when the pipe closes.