1.4 KiB
1.4 KiB
Features
Async
- A
.futurist.GreenThreadPoolExecutorusing eventlet green thread pools. It provides a standard executor API/interface and it also gathers execution statistics. It returns instances of.futurist.GreenFutureobjects. - A
.futurist.ProcessPoolExecutorderivative that gathers execution statistics. It returns instances of.futurist.Futureobjects. - A
.futurist.SynchronousExecutorthat doesn't run concurrently. It has the same executor API/interface and it also gathers execution statistics. It returns instances of.futurist.Futureobjects. - A
.futurist.ThreadPoolExecutorderivative that gathers execution statistics. It returns instances of.futurist.Futureobjects.
Periodics
- A
.futurist.periodics.PeriodicWorkerthat can use the previously mentioned executors to run asynchronous work periodically in parallel or synchronously. It does this by executing arbitrary functions/methods that have been decorated with the.futurist.periodics.periodicdecorator according to a internally maintained schedule (which itself is based on the heap algorithm).