Exemplo n.º 1
0
 def close(self):
     # Assume error will be raised again and handled by MMS?
     readAndDiscard(self).addErrback(lambda _: None)
Exemplo n.º 2
0
	def discard(self):
		if self.stream is not None:
			stream_mod.readAndDiscard(self.stream)