Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

timer-manager

easy to create a timer in javascript with a keyname and remove it with same keyname

Usage

  • Install
npm install timer-manager --save-dev
  • createTimer
	
	var Timer = require('timer-manager');
	Timer.createTimer('testTimer' , 1000 , function(){

			//do something
			...

	})
  • removeTimer
	
	Timer.removeElement('testTimer');
	
	

Tips

you do not need to worry about same timer keyname, if timer pool have a same keyname , timer-manager will remove the timer before create;

About

easy to create a timer in javascript with a keyname and remove it with same keyname

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages