circuits.core.futures – Futures

Classes

none

Components

none

Events

none

Functions

circuits.core.futures.future(pool=None)

Decorator to wrap an event handler in a future Task

This decorator wraps an event handler into a background Task executing the event handler function in the background.

Parameters:pool (Pool) – An optional thread/process pool