1.1.3 • Published 6 years ago

@ddlab/timer v1.1.3

Weekly downloads
7
License
ISC
Repository
gitlab
Last release
6 years ago

Timer

Simple timer utility class with fluent API

Usage

import {timer} from '@ddlab/timer';
const tickInterval = 1000;
const timer = new Timer(tickInterval);

timer
    .subscribe(elapsedTime => console.log(elapsedTime))
    .start();

timer.stop();
1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago