Calls the given callback function when current valve closed.
callback
If the valve is closed already, then calls the callback immediately.
Does nothing if there is no current valve.
Calls whenClosed method of current sink internally.
Function to call once this valve is closed.
Generated using TypeDoc
Calls the given
callback
function when current valve closed.If the valve is closed already, then calls the
callback
immediately.Does nothing if there is no current valve.
Calls whenClosed method of current sink internally.