Skip to main content

custom_inspect_cmd

Ask the workers to reply with x.

def custom_inspect_cmd(
state: Any,
x: int
) - > dict

Ask the workers to reply with x.

Parameters

NameTypeDescription
stateAnyThe current state object of the worker or inspector context
xintThe integer value to be sent to and returned by the workers

Returns

TypeDescription
dictA dictionary containing an 'ok' key with a confirmation message including the received integer value