Socket
Book a DemoInstallSign in
Socket

nanotick

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanotick

Process.nextTick() batching utility

latest
Source
npmnpm
Version
1.1.6
Version published
Weekly downloads
31
34.78%
Maintainers
1
Weekly downloads
 
Created
Source

nanotick stability

npm version build status test coverage downloads js-standard-style

Process.nextTick() batching utility.

Usage

var nanotick = require('nanotick')

var tick = nanotick()

var myFunc = tick(function () {
  // do sync thing
})

// now resolves async
myFunc()

API

tick = nanotick

Create a new nanotick instance

tick(cb)

Always resolve a function asynchronously. Uses batching under the hood to optimize performance

Installation

$ npm install nanotick

See Also

License

MIT

Keywords

batch

FAQs

Package last updated on 03 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts