Namespaces | |
testing | |
Typedefs | |
template<typename HeldContext > | |
using | ContextTypeFromHeld = typename ContextHolder< HeldContext >::ContextType |
template<typename... Promises> | |
using | Join = BasicJoin< JoinTraits, Promises... > |
using | ObservableVersion = uint64_t |
template<typename T > | |
using | RemoveCVRef = absl::remove_cv_t< absl::remove_reference_t< T > > |
template<typename T > | |
using | ResultOf = typename ResultOfT< T >::T |
template<typename... Fs> | |
using | Seq = BasicSeq< SeqTraits, Fs... > |
template<typename... Promises> | |
using | TryJoin = BasicJoin< TryJoinTraits, Promises... > |
template<typename... Fs> | |
using | TrySeq = BasicSeq< TrySeqTraits, Fs... > |
template<typename T > | |
using | TrySeqTraits = TrySeqTraitsWithSfinae< T > |
Functions | |
template<typename CallPoll , typename T , typename F > | |
CallPoll::PollResult | ChooseIf (CallPoll call_poll, absl::StatusOr< bool > result, T *if_true, F *if_false) |
template<typename CallPoll , typename T , typename F > | |
CallPoll::PollResult | ChooseIf (CallPoll call_poll, bool result, T *if_true, F *if_false) |
Empty | IntoResult (absl::Status *) |
template<typename T > | |
T | IntoResult (absl::StatusOr< T > *status) |
absl::Status | IntoStatus (absl::Status *status) |
template<typename T > | |
absl::Status | IntoStatus (absl::StatusOr< T > *status) |
template<typename F > | |
absl::enable_if_t< IsVoidCallable< ResultOf< F()> >::value, PromiseLike< decltype(std::declval< F >)())> > | PromiseFactoryImpl (F &&f) |
template<typename A , typename F > | |
absl::enable_if_t< IsVoidCallable< ResultOf< F()> >::value, PromiseLike< decltype(std::declval< F >)())> > | PromiseFactoryImpl (F &&f, A &&) |
template<typename A , typename F > | |
absl::enable_if_t<!IsVoidCallable< ResultOf< F(A)> >::value, PromiseLike< Curried< RemoveCVRef< F >, A > > > | PromiseFactoryImpl (F &&f, A &&arg) |
template<typename A , typename F > | |
absl::enable_if_t< IsVoidCallable< ResultOf< F(A)> >::value, PromiseLike< decltype(std::declval< F >)(std::declval< A >)))> > | PromiseFactoryImpl (F &&f, A &&arg) |
template<typename F > | |
absl::enable_if_t<!IsVoidCallable< ResultOf< F()> >::value, PromiseLike< RemoveCVRef< F > > > | PromiseFactoryImpl (F f) |
template<typename A , typename F > | |
absl::enable_if_t<!IsVoidCallable< ResultOf< F()> >::value, PromiseLike< RemoveCVRef< F > > > | PromiseFactoryImpl (F f, A &&) |
template<typename T > | |
auto | WrapInPoll (T &&x) -> decltype(PollWrapper< T >::Wrap(std::forward< T >(x))) |
Variables | |
static constexpr ObservableVersion | kTombstoneVersion |
using grpc_core::promise_detail::ContextTypeFromHeld = typedef typename ContextHolder<HeldContext>::ContextType |
Definition at line 205 of file activity.h.
using grpc_core::promise_detail::Join = typedef BasicJoin<JoinTraits, Promises...> |
using grpc_core::promise_detail::ObservableVersion = typedef uint64_t |
Definition at line 41 of file observable.h.
using grpc_core::promise_detail::RemoveCVRef = typedef absl::remove_cv_t<absl::remove_reference_t<T> > |
Definition at line 80 of file promise_like.h.
using grpc_core::promise_detail::ResultOf = typedef typename ResultOfT<T>::T |
Definition at line 79 of file promise_factory.h.
using grpc_core::promise_detail::Seq = typedef BasicSeq<SeqTraits, Fs...> |
using grpc_core::promise_detail::TryJoin = typedef BasicJoin<TryJoinTraits, Promises...> |
Definition at line 69 of file try_join.h.
using grpc_core::promise_detail::TrySeq = typedef BasicSeq<TrySeqTraits, Fs...> |
using grpc_core::promise_detail::TrySeqTraits = typedef TrySeqTraitsWithSfinae<T> |
CallPoll::PollResult grpc_core::promise_detail::ChooseIf | ( | CallPoll | call_poll, |
absl::StatusOr< bool > | result, | ||
T * | if_true, | ||
F * | if_false | ||
) |
|
inline |
Definition at line 44 of file try_join.h.
T grpc_core::promise_detail::IntoResult | ( | absl::StatusOr< T > * | status | ) |
Definition at line 36 of file try_join.h.
|
inline |
Definition at line 37 of file src/core/lib/promise/detail/status.h.
absl::Status grpc_core::promise_detail::IntoStatus | ( | absl::StatusOr< T > * | status | ) |
Definition at line 32 of file src/core/lib/promise/detail/status.h.
absl::enable_if_t<IsVoidCallable<ResultOf<F()> >::value, PromiseLike<decltype(std::declval<F>)())> > grpc_core::promise_detail::PromiseFactoryImpl | ( | F && | f | ) |
Definition at line 144 of file promise_factory.h.
absl::enable_if_t<IsVoidCallable<ResultOf<F()> >::value, PromiseLike<decltype(std::declval<F>)())> > grpc_core::promise_detail::PromiseFactoryImpl | ( | F && | f, |
A && | |||
) |
Definition at line 136 of file promise_factory.h.
absl::enable_if_t<!IsVoidCallable<ResultOf<F(A)> >::value, PromiseLike<Curried<RemoveCVRef<F>, A> > > grpc_core::promise_detail::PromiseFactoryImpl | ( | F && | f, |
A && | arg | ||
) |
Definition at line 102 of file promise_factory.h.
absl::enable_if_t<IsVoidCallable<ResultOf<F(A)> >::value, PromiseLike<decltype(std::declval<F>)(std::declval<A>)))> > grpc_core::promise_detail::PromiseFactoryImpl | ( | F && | f, |
A && | arg | ||
) |
Definition at line 127 of file promise_factory.h.
absl::enable_if_t<!IsVoidCallable<ResultOf<F()> >::value, PromiseLike<RemoveCVRef<F> > > grpc_core::promise_detail::PromiseFactoryImpl | ( | F | f | ) |
Definition at line 119 of file promise_factory.h.
absl::enable_if_t<!IsVoidCallable<ResultOf<F()> >::value, PromiseLike<RemoveCVRef<F> > > grpc_core::promise_detail::PromiseFactoryImpl | ( | F | f, |
A && | |||
) |
Definition at line 111 of file promise_factory.h.
auto grpc_core::promise_detail::WrapInPoll | ( | T && | x | ) | -> decltype(PollWrapper<T>::Wrap(std::forward<T>(x))) |
Definition at line 62 of file promise_like.h.
|
staticconstexpr |
Definition at line 42 of file observable.h.