You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
And how does one communicate that error?
Is this what 'cancel' is for? - doesn't sound this way as cancel is the interface of the future not of the promise.
And a related question, having a failed QFuture - how does one "rescue" it? - i.e.: having this chain: return observe(reading).subscribe(updateCache).future(); - suppose reading fails and suppose there is a way of correcting it: return observe(reading).subscribe(updateCache, rescue).future();
the above doesn't work.
The text was updated successfully, but these errors were encountered:
There's currently no error handling in AsyncFuture. You can handle errors in the QFuture type using std::variant or std::any. With Qt6 QFuture can handle failures with exceptions. I'm not sure if Qt6's QFuture is compatible with AsyncFuture. There's a bunch of feature overlap. But QFuture doesn't support combine().
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
And how does one communicate that error?
Is this what 'cancel' is for? - doesn't sound this way as cancel is the interface of the future not of the promise.
And a related question, having a failed
QFuture
- how does one "rescue" it? - i.e.: having this chain:return observe(reading).subscribe(updateCache).future();
- supposereading
fails and suppose there is a way of correcting it:return observe(reading).subscribe(updateCache, rescue).future();
the above doesn't work.
The text was updated successfully, but these errors were encountered: