Skip to content

runvnc/promisifier-no-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

var Promise = require('bluebird');

horseObj = { drink: function(cb) { cb('slurp'); } };

var horse = Promise.promisifyAll(horseObj, { promisifier: require('promisifier-no-error') });

horse.drinkAsync().then(function(data){
  console.log(data);
     // Can use here, now promisified normally.
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published