1.0.0 • Published 6 years ago
aleph1-delayed-set-interval v1.0.0
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-intervalor
npm install aleph1-delayed-set-intervalimport 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/
yarnrun 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
1.0.0
6 years ago