Skip to main content

ping

Ping worker(s).

def ping(
state: object,
**kwargs: dict
) - > string

Ping worker(s).

Parameters

NameTypeDescription
stateobjectThe current internal state or context of the worker process
**kwargsdictAdditional keyword arguments for command execution control, such as custom timeouts

Returns

TypeDescription
stringA success response containing the string 'pong' to indicate the worker is reachable