Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ConsumeMessagesLoopCore()

void System.Threading.Tasks.Dataflow.BufferBlock< T >.ConsumeMessagesLoopCore ( )
inlineprivate

Definition at line 268 of file BufferBlock.cs.

269 {
270 try
271 {
273 for (int i = 0; i < actualMaxMessagesPerTask; i++)
274 {
276 {
277 break;
278 }
279 }
280 }
281 catch (Exception exception)
282 {
284 }
285 finally
286 {
288 {
289 _boundingState.TaskForInputProcessing = null;
292 }
293 }
294 }
void ConsumeAsyncIfNecessary(bool isReplacementReplica=false)
void CompleteCore(Exception exception, bool storeExceptionEvenIfAlreadyCompleting, bool revertProcessingState=false)

References System.Threading.Tasks.Dataflow.BufferBlock< T >._source, System.Threading.Tasks.Dataflow.DataflowBlockOptions.ActualMaxMessagesPerTask, System.Threading.Tasks.Dataflow.BufferBlock< T >.CompleteCore(), System.Threading.Tasks.Dataflow.BufferBlock< T >.CompleteTargetIfPossible(), System.Threading.Tasks.Dataflow.BufferBlock< T >.ConsumeAndStoreOneMessageIfAvailable(), System.Threading.Tasks.Dataflow.BufferBlock< T >.ConsumeAsyncIfNecessary(), System.Threading.Tasks.Dataflow.Internal.SourceCore< TOutput >.DataflowBlockOptions, System.exception, and System.Threading.Tasks.Dataflow.BufferBlock< T >.IncomingLock.