main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
459 bytes
|
Line | |
---|
1 | export declare type Listener = () => void;
|
---|
2 | export declare type ClearHarmonicInterval = () => void;
|
---|
3 | export interface Bucket {
|
---|
4 | ms: number;
|
---|
5 | timer: any;
|
---|
6 | listeners: Record<number, Listener>;
|
---|
7 | }
|
---|
8 | export interface TimerReference {
|
---|
9 | bucket: Bucket;
|
---|
10 | id: number;
|
---|
11 | }
|
---|
12 | export declare const setHarmonicInterval: (fn: Listener, ms: number) => TimerReference;
|
---|
13 | export declare const clearHarmonicInterval: ({ bucket, id }: TimerReference) => void;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.