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

Enable Delay Queue to manage a task that returns a Promise #22

Open
huan opened this issue Jul 6, 2018 · 0 comments
Open

Enable Delay Queue to manage a task that returns a Promise #22

huan opened this issue Jul 6, 2018 · 0 comments

Comments

@huan
Copy link
Owner

huan commented Jul 6, 2018

In order to do this, we have to wrap the Promise into other data type, or when we await the result, all promises will be waited and be resolved.

  1. wrap promise in a []
  2. wrap promise in a iterator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant