Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ StoreOutputItems()

void System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >.StoreOutputItems ( KeyValuePair< TInput, long > messageWithId,
IEnumerable< TOutput > outputItems )
inlineprivate

Definition at line 262 of file TransformManyBlock.cs.

263 {
264 if (_reorderingBuffer != null)
265 {
267 }
268 else if (outputItems != null)
269 {
270 if (outputItems is TOutput[] || outputItems is List<TOutput>)
271 {
273 }
274 else
275 {
277 }
278 }
279 else if (_target.IsBounded)
280 {
281 _target.ChangeBoundingCount(-1);
282 }
283 }
readonly ReorderingBuffer< IEnumerable< TOutput > > _reorderingBuffer
void StoreOutputItemsNonReorderedWithIteration(IEnumerable< TOutput > outputItems)
void StoreOutputItemsNonReorderedAtomic(IEnumerable< TOutput > outputItems)
void StoreOutputItemsReordered(long id, IEnumerable< TOutput > item)

References System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >._reorderingBuffer, System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >._target, System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >.StoreOutputItemsNonReorderedAtomic(), System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >.StoreOutputItemsNonReorderedWithIteration(), and System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >.StoreOutputItemsReordered().

Referenced by System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >.AsyncCompleteProcessMessageWithTask(), System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >.ProcessMessage(), and System.Threading.Tasks.Dataflow.TransformManyBlock< TInput, TOutput >.ProcessMessageWithTask().