1.0.0 • Published 5 years ago

aleph1-delayed-set-interval v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

aleph1-delayed-set-interval

License: MIT Issues NPMVersion NPMDownloads NPMSize

Language grade: JavaScript Total alerts

aleph1-delayed-set-interval is a JS library that delay the setInterval function to the start of the next minute.

Installing

yarn add aleph1-delayed-set-interval

or

npm install aleph1-delayed-set-interval

import the library using

import { delayInterval, DelayedIntervalHandler} from "aleph1-delayed-set-interval";

const handler: DelayedIntervalHandler = delayInterval( ()=>{ console.log("Hello"); }, 3000);
...
handler.dispose();

Developing & Prerequisites

git clone https://github.com/avrahamcool/aleph1-delayed-set-interval.git
cd aleph1-delayed-set-interval/
yarn

run yarn build or npm build to compile the entire project.

Licensing

The code is open source and available under the MIT License.

Built and maintained by Essoudry Avraham