1.4 KiB
1.4 KiB
Features
Async
- A :py
.futurist.GreenThreadPoolExecutor
using eventlet green thread pools. It provides a standard executor API/interface and it also gathers execution statistics. It returns instances of :py.futurist.GreenFuture
objects. - A :py
.futurist.ProcessPoolExecutor
derivative that gathers execution statistics. It returns instances of :py.futurist.Future
objects. - A :py
.futurist.SynchronousExecutor
that doesn't run concurrently. It has the same executor API/interface and it also gathers execution statistics. It returns instances of :py.futurist.Future
objects. - A :py
.futurist.ThreadPoolExecutor
derivative that gathers execution statistics. It returns instances of :py.futurist.Future
objects.
Periodics
- A :py
.futurist.periodics.PeriodicWorker
that can use the previously mentioned executors to run asynchronous work periodically in parallel or synchronously. It does this by executing arbitary functions/methods that have been decorated with the :py.futurist.periodics.periodic
decorator according to a internally maintained schedule (which itself is based on the heap algorithm).