heartbeat
Tell worker(s) to send event heartbeat immediately.
def heartbeat(
state: object
) - > null
Tell worker(s) to send event heartbeat immediately.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current worker state object containing the consumer and event dispatcher instances |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function triggers an asynchronous event dispatch. |