7.2.2.7. register_executor

register_executor(name, init, executors=None)[source]

Register a new executor type.

Parameters:
  • name (str) – Executor name.

  • init (callable) – Function to initialize the executor.

  • executors (ExecutorFactory) – Executor factory.