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

Classes

class  BoundedChannelReader
 
class  BoundedChannelWriter
 

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

 BoundedChannel (int bufferedCapacity, BoundedChannelFullMode mode, bool runContinuationsAsynchronously, Action< T > itemDropped)
 

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 BoundedChannelFullMode _mode
 
readonly Action< T_itemDropped
 
readonly TaskCompletionSource _completion
 
readonly int _bufferedCapacity
 
readonly Deque< T_items = new Deque<T>()
 
readonly Deque< AsyncOperation< T > > _blockedReaders = new Deque<AsyncOperation<T>>()
 
readonly Deque< VoidAsyncOperationWithData< T > > _blockedWriters = new Deque<VoidAsyncOperationWithData<T>>()
 
AsyncOperation< bool_waitingReadersTail
 
AsyncOperation< bool_waitingWritersTail
 
readonly bool _runContinuationsAsynchronously
 
Exception _doneWriting
 

Detailed Description

Definition at line 10 of file BoundedChannel.cs.


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