Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

callasync

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

callasync

Group and call functions asynchronously

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

callasync

npm version Build Status Coverage Status

Essential utility function that groups and calls functions asynchronously on the same tick respecting order of invocation.

Installation

$ npm install --save callasync

API

var callasync = require('callasync');

// both functions `foo()` and `bar()` will be
// called async but on a same tick

callasync(function foo() {
  // function body
});

callasync(function bar() {
  // function body
});

Running tests

$ npm install
$ npm test

License

MIT

Keywords

async

FAQs

Package last updated on 20 Feb 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