[Twisted-Python] how to stop dataReceived while waiting a deferred to fire?
Andrew Bennetts
andrew-twisted at puzzling.org
Mon Feb 21 00:21:06 EST 2005
On Mon, Feb 21, 2005 at 12:08:43AM -0500, James Y Knight wrote:
[...]
> NetstringReceiver implementing it). LineReceiver's pauseProducing does
> exactly what you want: 1) stops the socket from being read more and 2)
> doesn't call lineReceived any more even if there are more lines already
> buffered.
Ooh, I didn't know LineReceiver had that feature. Nice!
-Andrew.
More information about the Twisted-Python
mailing list