Undocumented
Method qsize Pretend to be a Python threading Queue and return the number of as-yet-unconsumed tasks.
def qsize(q): (source)

Pretend to be a Python threading Queue and return the number of as-yet-unconsumed tasks.

Returnsthe amount of backlogged work not yet dispatched to a worker. (type: int)
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.