qrpike / js-intervals

Custom JS Interval implementations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS Intervals

Custom JS Interval implementations. Attempting to replicate exact functionality of native setInterval and clearInterval

Example:

// Include Library:
const { MySetInterval, MyClearInterval } = require('./src/lib.js')
// Create an Interval:
var firstInt = MySetInterval(() => {
	console.log('My Interval')
}, 1000)

About

Custom JS Interval implementations


Languages

Language:JavaScript 100.0%