enable_events
Tell worker(s) to send task-related events.
def enable_events(
state: object
) - > dict
Tell worker(s) to send task-related events.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current worker state object containing the consumer and its event dispatcher instance. |
Returns
| Type | Description |
|---|---|
dict | A status response indicating whether task events were successfully enabled or if they were already active. |