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

Promise for RPC server #7

Open
ashmna opened this issue Jun 8, 2016 · 1 comment
Open

Promise for RPC server #7

ashmna opened this issue Jun 8, 2016 · 1 comment

Comments

@ashmna
Copy link

ashmna commented Jun 8, 2016

Please add feature in RPC server
return Promise
example

queue.activateConsumer((msg:Message) => {

  return new Promise((resolve, reject) => {
      setTimout(() => resolve({key:'value'}), 1000);
  });

});
@abreits
Copy link
Owner

abreits commented Nov 22, 2016

A little late perhaps, but I have implemented your request in version 1.4 (the current version).

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