textual.worker_manager
Contains WorkerManager, a class to manage workers for an app.
You access this object via App.workers or Widget.workers.
WorkerManager
¶
WorkerManager(app)
An object to manage a number of workers.
You will not have to construct this class manually, as widgets, screens, and apps
have a worker manager accessibly via a workers attribute.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
App
|
An App instance. |
required |