Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

manvalls/vz.next-tick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NPM

This package uses or may use at some point in the future ECMAScript 6 features. Use it on a compatible environment or transpile it with Traceur, Closure Compiler, es6-transpiler or equivalent. Please note that some of these have flaws and bugs, test your code carefully until you find a suitable tool for your task.

When cloning this repository, put the folder inside another named "node_modules" in order to avoid potential errors related to npm's dependency handling, and then run npm install on it.

No piece of software is ever completed, feel free to contribute and be humble.

vz nextTick

Sample usage:

var nextTick = require('vz.next-tick'),
    id;

// (function,arguments,thisArg)
nextTick(console.log,['Hello','world'],console);
// Will be executed asap, but asynchronously

id = nextTick(console.log,['Bye','world'],console);
nextTick.clear(id); // Won't be executed

About

nextTick implementation for the browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published