Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Add promise to pending request #1

Open
Syed-Umair opened this issue Oct 24, 2017 · 1 comment
Open

Add promise to pending request #1

Syed-Umair opened this issue Oct 24, 2017 · 1 comment

Comments

@Syed-Umair
Copy link

It would be helpful if I was able to track my request in promise
Resolve after all the requests sent to google have come back.

@bcomnes
Copy link
Owner

bcomnes commented Oct 24, 2017

The underlying google voice recognition api that this depends upon is evented, so to return a promise would require some simplifying assumptions, such as single utterance.

If you come up with a connivence wrapper that has this API I'll consider a PR.

If you are talking about actual network requests you will have to dig into the underlying modules as this only deals with the the API that google provides with their voice recognition node module and doesn't have control over that.

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

No branches or pull requests

2 participants