Alarm
The type returned by setAlarm.
Constructor Summary
Public Constructor | ||
public |
constructor(handle: any) Construct an Alarm given a setTimeout handle. |
Member Summary
Private Members | ||
private |
_handle: * |
Method Summary
Public Methods | ||
public |
clear() Clear last setTimeout handle. |
|
public |
record(handle: any) Record a new setTimeout handle (and clear previous one if any). |
Public Constructors
public constructor(handle: any) source
Construct an Alarm given a setTimeout handle.
Params:
Name | Type | Attribute | Description |
handle | any |