[Output:Webcall] Make requests asynchronous #47
Labels
No labels
bug
documentation
duplicate
enhancement
help wanted
invalid
question
v0.1.x
v0.2.x
v0.3.x
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DeltaLima/CanGrow#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment a request blocks the complete codeuntil it's finished. So when our Tasmota Wifi Plug needs 1.42s for it's answer, CanGrow Code is waiting 1.42s for it.
I hope to avoid this with async request. In AsyncTCP lib there is an interesting example:
void fetchAsync(const char *host, std::function<void(const StreamString *)> onDone) {