$getTimeout
$getTimeout
returns information about a specific timeout.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
timeoutId | number | The ID of the timeout. | true |
key? | string | The key value that will be returned. 1. key (default) 2. duration 3. id | false |
Example(s)
This will return the duration of the specified timeout.