Runs jobs in the default executor of the event loop.
If the job function is a native coroutine function, it is scheduled to be run directly in the event loop as soon as possible. All other functions are run in the event loop’s default executor which is usually a thread pool.
Shuts down this executor.
Parameters: wait (bool) –
Trueto wait until all submitted jobs have been executed
Called by the scheduler when the scheduler is being started or when the executor is being added to an already running scheduler.
- scheduler (apscheduler.schedulers.base.BaseScheduler) – the scheduler that is starting this executor
- alias (str|unicode) – alias of this executor as it was assigned to the scheduler