Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This is a nodejs plugin.It will process all callbacks to return result.

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

This is a processing callback plugin.

Create a callback manager.

var callbackManager = require("callback-manager").create();

Create a counter.

callbackManager.create();

Add a receiver to callback.

setTimeout(callbackManager.getReceiver(),100);

Add second receiver to callback.

setTimeout(callbackManager.getReceiver(),150);

Process result when two callback is called.

callbackManager.done( function(){ console.log("success"); });

Run example

node example/sample.js
Something went wrong with that request. Please try again.