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

Support for time limit #104

Open
SuperDermo opened this issue May 19, 2020 · 0 comments
Open

Support for time limit #104

SuperDermo opened this issue May 19, 2020 · 0 comments

Comments

@SuperDermo
Copy link
Contributor

SuperDermo commented May 19, 2020

Could you pls add support for time limit as it was possible with the request because this is important feature and wrapping every bent into a array of promises in order to include setTimeout requires quite a lot of lines of code and makes the code hard to read.

Eg. timeout for one second
async request(url[, body=null, headers={}, timeout=1000])

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

1 participant