Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 276 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 276 Bytes

just-next-tick

Cross-platform next-tick with fallback to setTimeout.

Install

$ npm install just-next-tick

Usage

nextTick = require('just-next-tick')

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

console.log('hello')

// hello
// world