C/C++ API Reference
Loading...
Searching...
No Matches
pw::async2::internal::Channel< T > Class Template Reference
Inheritance diagram for pw::async2::internal::Channel< T >:
pw::async2::ChannelStorage< T, kCapacity >

Public Member Functions

bool closed () const
 

Static Public Member Functions

static ChannelAllocated (Allocator &alloc, uint16_t capacity)
 

Protected Member Functions

 Channel (FixedDeque< T > &&deque)
 
template<size_t kAlignment, size_t kCapacity>
 Channel (containers::Storage< kAlignment, kCapacity > &storage)
 
uint16_t ref_count () const
 

Member Function Documentation

◆ closed()

template<typename T >
bool pw::async2::internal::Channel< T >::closed ( ) const
inline

Returns true if the channel is closed. A closed channel cannot create new senders or receivers, and cannot be re-opened.


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