custom_control_cmd
Ask the workers to reply with a and b.
def custom_control_cmd(
state: object,
a: int,
b: int
) - > dict
Ask the workers to reply with a and b.
Parameters
| Name | Type | Description |
|---|---|---|
| state | object | The current state object of the control system |
| a | int | The first integer value to be sent to and echoed back by the workers |
| b | int | The second integer value to be sent to and echoed back by the workers |
Returns
| Type | Description |
|---|---|
dict | A dictionary containing an 'ok' key with a confirmation message including the received integer values |