Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VirtualTimer

An extension of Timer useful for testing

Hierarchy

Index

Properties

Readonly currentTime

currentTime: IO<number>

Readonly delay

delay: (fn: Arity1<number, Disposable>, delayMs: number) => Disposable

Type declaration

    • (fn: Arity1<number, Disposable>, delayMs: number): Disposable
    • Parameters

      • fn: Arity1<number, Disposable>
      • delayMs: number

      Returns Disposable

Readonly progressTimeBy

progressTimeBy: (delayMS: number) => void

Type declaration

    • (delayMS: number): void
    • Parameters

      • delayMS: number

      Returns void

Generated using TypeDoc