@iskl/interval
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

更加实用的 interval

const interval = new Interval(f, {
  debounceInterval: 2000,
  onStart: () => {
    console.log('onStart');
  },
  onStop: () => {
    console.log('onStop');
  },
});

interval.start();

Readme

Keywords

none

Package Sidebar

Install

npm i @iskl/interval

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

29.4 kB

Total Files

7

Last publish

Collaborators

  • iskl