Skip to content

michaelrhodes/iso-next-tick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iso-next-tick

A minimal, isomorphic process.nextTick implementation.

node: process.nextTick
browser: setImmediate || setTimeout

Build status

This module is essentially just-next-tick. The difference is, iso-next-tick can be browserified without pulling in the process object (see: insert-module-globals).

Install

$ npm install iso-next-tick

Usage

var nextTick = require('iso-next-tick')

nextTick(function () {
  console.log('world')
})

console.log('hello')

> hello
> world

License

BSD

About

a minimal, isomorphic process.nextTick implementation

Resources

Stars

Watchers

Forks

Packages