types.daemon

Module Contents

Classes

CancellableStream(self,stream,response) Stream wrapper for real-time events, logs, etc. from the server.
class CancellableStream(stream, response)

Stream wrapper for real-time events, logs, etc. from the server.

Example:
>>> events = client.events()
>>> for event in events:
...   print event
>>> # and cancel from another thread
>>> events.close()
__init__(stream, response)
__iter__()
__next__()
close()

Closes the event streaming.