| 155 | } |
| 156 | |
| 157 | void HttpClient::setDispatchOnWorkThread(bool bVal) |
| 158 | { |
| 159 | _scheduler->unscheduleAllForTarget(this); |
| 160 | _dispatchOnWorkThread = bVal; |
| 161 | if (!bVal) |
| 162 | _scheduler->schedule([this](float) { tickInput(); }, this, 0, false, "#"); |
| 163 | } |
| 164 | |
| 165 | |
| 166 | // Poll and notify main thread if responses exists in queue |
nothing calls this directly
no test coverage detected