Release v0.10.0 #132
ecorm
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Asio completion token support and thread-safe Session operations.
New features:
yield_context
,use_awaitable
, anduse_future
now supported as completion tokens.AsyncResult
to newErrorOr
class which better emulates the proposedstd::expected
.Session
's asynchonous operations now return anErrorOr
result when passed ayield_context
as the completion token.Session
overloads with theThreadSafe
tag type which can be called concurrently by multiple threads.Realm::captureAbort
.Session
'ssetWarningHandler
,setTraceHandler
,setStateChangeHandler
, andsetChallengeHandler
now take effect immediately even when connected.Session
will use them when executing those handlers.Session::call
.Rpc::withCancelMode
which specifies the cancel mode to use when triggered by Asio cancellation slots.withArgsTuple
,convertToTuple
andmoveToTuple
toPayload
class.Deferment
tag type (withdeferment
constexpr variable) to more conveniently return a deferred
Outcome` from an RPC handler.This discussion was created from the release Release v0.10.0.
Beta Was this translation helpful? Give feedback.
All reactions