Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | UnboundedChannelReader |
class | UnboundedChannelWriter |
Static Public Member Functions | |
static Channel< T > | CreateUnbounded< T > () |
static Channel< T > | CreateUnbounded< T > (UnboundedChannelOptions options) |
static Channel< T > | CreateBounded< T > (int capacity) |
static Channel< T > | CreateBounded< T > (BoundedChannelOptions options) |
static Channel< T > | CreateBounded< 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 | |
SingleConsumerUnboundedChannel (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 SingleProducerSingleConsumerQueue< T > | _items = new SingleProducerSingleConsumerQueue<T>() |
readonly bool | _runContinuationsAsynchronously |
volatile Exception | _doneWriting |
AsyncOperation< T > | _blockedReader |
AsyncOperation< bool > | _waitingReader |
Definition at line 11 of file SingleConsumerUnboundedChannel.cs.