0.0.2 • Published 5 years ago

more-timeout v0.0.2

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

more-timeout

Simple function to run a timeout n times. :D

Usage

const setTimeoutFor = require('more-timeout');
const timeout = setTimeoutFor(callback, 1000, 5); // Call callback every second 5 times
// timeout.clear() // To clear a timer before if runs out
// timeout.getTimeout() // To get the active timer
0.0.2

5 years ago

0.0.1

5 years ago