onClose property

Callback? onClose
getter/setter pair

Invoked before closing the channel. Then all the awating takers will be invoked with End

Implementation

Callback? onClose;