Ticker

A class which provides a reliable callback using either a Web Worker, or if that isn't supported, falls back to setTimeout.

Hierarchy

    • Ticker

Index

Constructor

Properties

Methods

Constructor

new Ticker (
callback:() => void ,
updateInterval:Seconds
) => Ticker

Properties

type #

TickerClockSource

The type of the ticker, either a worker or a timeout

updateInterval #

Seconds

The rate in seconds the ticker will update

Methods

dispose #

Clean up

dispose ( ) => void