Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Channels.UnboundedChannel< T > Class Template Referencesealed

Classes

class  UnboundedChannelReader
 
class  UnboundedChannelWriter
 

Static Public Member Functions

static Channel< TCreateUnbounded< T > ()
 
static Channel< TCreateUnbounded< T > (UnboundedChannelOptions options)
 
static Channel< TCreateBounded< T > (int capacity)
 
static Channel< TCreateBounded< T > (BoundedChannelOptions options)
 
static Channel< TCreateBounded< T > (BoundedChannelOptions options, Action< T >? itemDropped)
 
static implicit operator ChannelReader< TRead > (Channel< TWrite, TRead > channel)
 
static implicit operator ChannelWriter< TWrite > (Channel< TWrite, TRead > channel)
 

Package Functions

 UnboundedChannel (bool runContinuationsAsynchronously)
 

Properties

object SyncObj [get]
 
int ItemsCountForDebugger [get]
 
bool ChannelIsClosedForDebugger [get]
 
ChannelReader< TRead > Reader [get, protected set]
 
ChannelWriter< TWrite > Writer [get, protected set]
 

Private Member Functions

IEnumerator< T > IDebugEnumerable< T >. GetEnumerator ()
 

Private Attributes

readonly TaskCompletionSource _completion
 
readonly ConcurrentQueue< T_items = new ConcurrentQueue<T>()
 
readonly Deque< AsyncOperation< T > > _blockedReaders = new Deque<AsyncOperation<T>>()
 
readonly bool _runContinuationsAsynchronously
 
AsyncOperation< bool_waitingReadersTail
 
Exception _doneWriting
 

Detailed Description

Definition at line 11 of file UnboundedChannel.cs.


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