Skip to content

artskar/eFor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

eFor

For statement emulation to work with large arrays without event loop blocking.

How to use:

import eFor from 'utils/eFor.js';

let arr = [1,2,3];

eFor(arr, function (pending, item) {
   if (pending) {
      // do something with item
   } else {
      // do something after cycle end
   }
});

MIT.

About

For statement emulation to work with large arrays. No event loop blocking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published