Interface ITimeoutService

Index

Call signatures

Methods

Call signatures

(func: Function, delay?: number, invokeApply?: boolean): IPromise

Parameters

  • func: Function
  • delay?: number optional
  • invokeApply?: boolean optional

Returns

IPromise

Methods

public cancel(promise: IPromise): boolean

Parameters

Returns

boolean

public flush(delay?: number)

Parameters

  • delay?: number optional

public flushNext(expectedDelay?: number)

Parameters

  • expectedDelay?: number optional

public verifyNoPendingTasks()