MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / close_when_done

Method close_when_done

tools/python-3.11.9-amd64/Lib/asynchat.py:227–229  ·  view source on GitHub ↗

automatically close this channel once the outgoing queue is empty

(self)

Source from the content-addressed store, hash-verified

225 return self.producer_fifo or (not self.connected)
226
227 def close_when_done(self):
228 "automatically close this channel once the outgoing queue is empty"
229 self.producer_fifo.append(None)
230
231 def initiate_send(self):
232 while self.producer_fifo and self.connected:

Callers 1

smtp_QUITMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected