Enter to send·Shift+Enter new line
close( self, ) -> None
Cancel any open event streams and mark the transport closed. Idempotent.