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

Add support for Service and properly handle timeouts #11

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

jloveridge
Copy link

In the existing version if you pass an option for a timeout {timeout: 1000} and the timeout lapses the resulting promise is never rejected nor resolved. I added a handler for the timeout event to resolve this issue and reject the promise.

Additionally I added support for restler's Service as it was useful to me. The service implementation available through this module, as you would expect, uses the Q version of the restler methods.

@taxilian
Copy link

taxilian commented Oct 8, 2015

To the maintainers of the package: Is there a reason you aren't accepting this? Have you decided to stop maintaining it? We'd really like to be able to use npm packages again instead of referencing this branch through git; if you're not maintaining it, would you be open to passing it to someone who will?

@MadLittleMods
Copy link
Member

Hey @taxilian, there is no particular reason, we just haven't given it a proper review yet.

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

Successfully merging this pull request may close these issues.

4 participants