Dan Vrátil
Dan Vrátil
Aah, that's a good idea :-) I think it's OK to have it as part of the regular CMake build, but only for tests and maybe examples, though. For the...
Yeah, I suspected it's some paths to the DLLs missing. In the CI script [I am trying to set the path](https://github.com/danvratil/qcoro/blob/main/.github/workflows/build-windows.yml#L80) and I think the path is correct. I was...
Experimental implementation (including basic cancellation cascading) is implemented in `feature/cancellation` branch. The cascading is needed when the object being `co_await`ed by the cancelled coroutine is a `QCoro::Task`. The clever trick...
Newly discovered issue: If I hold a reference to a Task and use it to cancel the task, how does this affect .then() continuations someone else may have attached to...
Not good enough, imagine case like this: ```cpp QCoro::Task task = startAnAsyncOperation(); // Schedule cancellation of the operation if it doesn't complete within 100ms QTimer::singleShot(100ms, [&task]() { task.cancel(); }); const...
Alternative option would be to make cancellation an explicit feature: Introduce `CancellableTask` which resolves to `Result` where `Result` is a wrapper that either has the value `T` or indicates cancellation....
To provide some update (after a longer pause), I have working `CancellableTask` implementation, but I'm struggling with some memory issues in the `DetachedTask`. I will probably clean up the current...
To be frank, it's fairly possibe that the issue is gone simply because I've rewritten some of the underlying code since I filed the issue initially, which made the ASAN...
Might not be needed after all, details in the discussion.
As per the discussion, `QSerialSocket` works with `QCoroIODevice` just fine.