Skip to main content

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

NameTypeDescription
stateobjectThe current worker state object containing the consumer and its event dispatcher instance.

Returns

TypeDescription
dictA status response indicating whether task events were successfully enabled or if they were already active.