active
List of tasks currently being executed.
def active(
state: object,
safe: boolean = False,
**kwargs: dict
) - > list
List of tasks currently being executed.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current worker state object containing the set of active requests. |
| safe | boolean = False | Whether to filter out sensitive information from the task details for security purposes. |
| **kwargs | dict | Additional keyword arguments passed to the command inspector. |
Returns
| Type | Description |
|---|---|
list | A list of dictionaries containing metadata and status information for all tasks currently being processed by the worker. |