/ fm / liveswitch / TimeoutTimer
Class: TimeoutTimer
fm.liveswitch.TimeoutTimer
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new TimeoutTimer(callback
: IAction1<any>, state
: any): TimeoutTimer
Parameters:
Name | Type |
---|---|
callback |
IAction1<any> |
state |
any |
Returns: TimeoutTimer
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:10
Properties
_callback
• Private
_callback: IAction1<any>
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:8
_currentTimeout
• Private
_currentTimeout: number
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:10
_state
• Private
_state: any
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:9
_timer
• Private
_timer: number
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:7
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:4
start
▸ start(timeout
: number): void
Parameters:
Name | Type |
---|---|
timeout |
number |
Returns: void
Implementation of: ITimeoutTimer
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:17
stop
▸ stop(): boolean
Returns: boolean
Implementation of: ITimeoutTimer
Defined in: Generated/TypeScript/fm.liveswitch/TimeoutTimer.ts:29