send_task
Send a new task to the task queue.
Raises:
Exception: If the payload is not a dictionary.
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| type (required) | Type identifier for the task. | str | None |
| payload (required) | Dictionary containing the task data. | TaskPayload | None |
| show_warning | Whether to show warnings. Defaults to True. | bool | True |
Return Value
None