Mixin which adds write buffering.

Instance Variable data Undocumented
Class Variable DELAY Undocumented
Method schedule Undocumented
Method reschedule Undocumented
Method write Buffer some bytes to be written soon.
Method flush Flush the buffer immediately.
Instance Variable _delayedWriteCall Undocumented
_delayedWriteCall =
Undocumented
data =
Undocumented
DELAY =
Undocumented
(type: float)
def schedule(self): (source)
Undocumented
def reschedule(self, token): (source)
Undocumented
def write(self, data): (source)

Buffer some bytes to be written soon.

Every call to this function delays the real write by self.DELAY seconds. When the delay expires, all collected bytes are written to the underlying transport using ITransport.writeSequence.

def flush(self): (source)

Flush the buffer immediately.

API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.