MCPcopy
hub / github.com/USArmyResearchLab/Dshell / flush

Method flush

dshell/core.py:161–167  ·  view source on GitHub ↗

Triggers plugin to finish processing any remaining packets that are being held onto.

(self)

Source from the content-addressed store, hash-verified

159 yield self._packet_queue.pop(0)
160
161 def flush(self):
162 """
163 Triggers plugin to finish processing any remaining packets that are being held onto.
164 """
165 # By default we don't need to do anything because any consumed packet is placed onto the queue
166 # right away.
167 pass
168
169 def purge(self):
170 """

Callers 3

clean_plugin_chainFunction · 0.45
flushMethod · 0.45
writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected