-
Notifications
You must be signed in to change notification settings - Fork 33
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
Any online request causing delay on the main loop #16
Comments
What is the issue exactly? |
The only ways around this I can think of are:
|
I found a way to make this work:
class HTTPSClientScheduled : public HTTPSClient {
int available() override {
SchedulerClass::yield();
return HTTPSClient::available();
}
};
This works because @nrwiersma would you consider a PR that exposes yield and delay in that way inside the Scheduler class? |
I think it can be done |
I have one task with simple request to REST api and if i'll start in main esp loop is waiting for response...
The text was updated successfully, but these errors were encountered: