A context manager that runs sync tasks in the background. Uses a thread pool executor to delegate tasks to separate threads. On exit,
__cancel_on_exit__=True__reraise_on_exit__=TrueBackgroundExecutor(
self,
config: RunnableConfig,
)| Name | Type |
|---|---|
| config | RunnableConfig |