Skip to main content

heartbeat

Tell worker(s) to send event heartbeat immediately.

def heartbeat(
state: object
) - > null

Tell worker(s) to send event heartbeat immediately.

Parameters

NameTypeDescription
stateobjectThe current worker state object containing the consumer and event dispatcher instances

Returns

TypeDescription
nullNothing is returned; the function triggers an asynchronous event dispatch.