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

◆ ConsumeMessagesLoopCore()

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

Definition at line 782 of file BroadcastBlock.cs.

783 {
784 try
785 {
787 for (int i = 0; i < actualMaxMessagesPerTask; i++)
788 {
790 {
791 break;
792 }
793 }
794 }
795 catch (Exception exception)
796 {
798 }
799 finally
800 {
802 {
803 _boundingState.TaskForInputProcessing = null;
806 }
807 }
808 }
readonly BroadcastingSourceCore< T > _source
void CompleteCore(Exception exception, bool storeExceptionEvenIfAlreadyCompleting, bool revertProcessingState=false)
void ConsumeAsyncIfNecessary(bool isReplacementReplica=false)

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