| 244 | |
| 245 | |
| 246 | void NCApps::LineCallback(asIScriptContext* ctx, std::chrono::time_point<std::chrono::steady_clock>* timeOut) { |
| 247 | // If the time out is reached we abort the script |
| 248 | if (*timeOut < NCApps::timeGetTime()) { |
| 249 | ctx->Abort(); |
| 250 | } |
| 251 | |
| 252 | // It would also be possible to only suspend the script, |
| 253 | // instead of aborting it. That would allow the application |
| 254 | // to resume the execution where it left of at a later |
| 255 | // time, by simply calling Execute() again. |
| 256 | } |
| 257 | |
| 258 | |
| 259 | // --- CLIENT SEND --- |
nothing calls this directly
no test coverage detected