Interface ITimeoutService
Callable
- __call(delay?: number, invokeApply?: boolean): IPromise<void>
- __call<T>(fn: function, delay?: number, invokeApply?: boolean, ...args: any[]): IPromise<T>
-
Parameters
-
Optional delay: number
-
Optional invokeApply: boolean
-
Type parameters
Parameters
-
fn: function
-
Optional delay: number
-
Optional invokeApply: boolean
-
Rest ...args: any[]
Methods
cancel
- cancel(promise?: IPromise<any>): boolean
-
Parameters
Returns boolean