iso-next-tick
a minimal, isomorphic process.nextTick implementation
Last updated 6 years ago by michaelrhodes .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install iso-next-tick 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (6 years ago)

1 Versions

  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |