mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
183 B
TypeScript
11 lines
183 B
TypeScript
import { Timer, Stopwatch } from 'sharp-timer';
|
|
|
|
let timer = new Timer(10);
|
|
|
|
timer.onIntervalElapsing(i => { });
|
|
timer.onIntervalElapsed(() => {
|
|
timer.stop();
|
|
});
|
|
|
|
timer.start();
|