Interface FakeTimer

Index

Construct signatures

Methods

Construct signatures

constructor(): any

Returns

any

Methods

public reset()

public runFunctionsWithinRange(oldMillis: number, nowMillis: number)

Parameters

  • oldMillis: number
  • nowMillis: number

public scheduleFunction(timeoutKey: any, funcToCall: () => void, millis: number, recurring: boolean)

Parameters

  • timeoutKey: any
  • funcToCall: () => void
  • millis: number
  • recurring: boolean

public tick(millis: number)

Parameters

  • millis: number