Open mykola-mokhnach opened 6 years ago
Please add a possibility for public functions to return promises if callback function is not provided. For example:
ps.lookup({ pid: 12345 }, function(err, resultList ) {}) =======> ps.lookup({ pid: 12345 }) -> Promise<resultList>
@neekey @mykola-mokhnach I just sent to PR for this https://github.com/neekey/ps/pull/78
Please add a possibility for public functions to return promises if callback function is not provided. For example: