$stopTimeout
$stopTimeout
will end/stop a timeout created by $setTimeout
.
Usage
$stopTimeout[id]
Parameters
Field | Type | Description | Required |
---|---|---|---|
id | string | Timeout ID. | true |
Example(s)
This will end a $setTimeout
timeout:
1client.command({2 name: "stopTimeout",3 code: `4 $stopTimeout[10029]5 `6});