aleph1-delayed-set-interval
v1.0.0
Published
delay the setInterval function to the start of the next minute.
Downloads
4
Readme
aleph1-delayed-set-interval
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