Menu

cassandra.io.asyncioreactor - asyncio Event Loop

class cassandra.io.asyncioreactor.AsyncioConnection(*args, **kwargs)[source]

An experimental implementation of Connection that uses the asyncio module in the Python standard library for its event loop.

Note that it requires asyncio features that were only introduced in the 3.4 line in 3.4.6, and in the 3.5 line in 3.5.1.

classmethod initialize_reactor()[source]

Called once by Cluster.connect(). This should be used by implementations to set up any resources that will be shared across connections.