Goal: Create a cancelTimeout action terminating a previously set timeout.
To achieve this the following code can be used:
{
"type": "cancelTimeout",
"params": {
"name": "laterMessage",
"background": true
}
}
The name parameter specifies which timeout is to be canceled.