twisted._threads.test.test_threadworker.FakeQueue(object)
class documentationtwisted._threads.test.test_threadworker
(View In Hierarchy)
A fake Queue
implementing put
and get
.
Instance Variable | items | A lit of items placed by put but not yet retrieved by
get . (type: list ) |
Method | __init__ | Create a FakeQueue . |
Method | put | Put an item into the queue for later retrieval by FakeQueue.get . |
Method | get | Get an item. |
Put an item into the queue for later retrieval by FakeQueue.get
.
Parameters | item | any object |