Public Types | Public Member Functions | Private Attributes | List of all members
grpc_core::promise_detail::PromiseLike< F > Class Template Reference

#include <promise_like.h>

Public Types

using Result = typename PollTraits< decltype(WrapInPoll(f_()))>::Type
 

Public Member Functions

auto operator() () -> decltype(WrapInPoll(f_()))
 
 PromiseLike (F &&f)
 

Private Attributes

GPR_NO_UNIQUE_ADDRESSf_
 

Detailed Description

template<typename F>
class grpc_core::promise_detail::PromiseLike< F >

Definition at line 67 of file promise_like.h.

Member Typedef Documentation

◆ Result

template<typename F >
using grpc_core::promise_detail::PromiseLike< F >::Result = typename PollTraits<decltype(WrapInPoll(f_()))>::Type

Definition at line 75 of file promise_like.h.

Constructor & Destructor Documentation

◆ PromiseLike()

template<typename F >
grpc_core::promise_detail::PromiseLike< F >::PromiseLike ( F &&  f)
inline

Definition at line 73 of file promise_like.h.

Member Function Documentation

◆ operator()()

template<typename F >
auto grpc_core::promise_detail::PromiseLike< F >::operator() ( ) -> decltype(WrapInPoll(f_()))
inline

Definition at line 74 of file promise_like.h.

Member Data Documentation

◆ f_

template<typename F >
GPR_NO_UNIQUE_ADDRESS F grpc_core::promise_detail::PromiseLike< F >::f_
private

Definition at line 69 of file promise_like.h.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:39