Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promises support #77

Open
mykola-mokhnach opened this issue Aug 7, 2018 · 1 comment
Open

Promises support #77

mykola-mokhnach opened this issue Aug 7, 2018 · 1 comment

Comments

@mykola-mokhnach
Copy link

mykola-mokhnach commented Aug 7, 2018

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>
@hanabi1224
Copy link

@neekey @mykola-mokhnach I just sent to PR for this #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants