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

◆ ProcessMessage()

void System.Threading.Tasks.Dataflow.ActionBlock< TInput >.ProcessMessage ( Action< TInput > action,
KeyValuePair< TInput, long > messageWithId )
inlineprivate

Definition at line 218 of file ActionBlock.cs.

219 {
220 try
221 {
223 }
224 catch (Exception exception)
225 {
227 {
228 throw;
229 }
230 }
231 finally
232 {
233 if (_defaultTarget.IsBounded)
234 {
235 _defaultTarget.ChangeBoundingCount(-1);
236 }
237 }
238 }
readonly TargetCore< TInput > _defaultTarget
static bool IsCooperativeCancellation(Exception exception)
Definition Common.cs:88

References System.Threading.Tasks.Dataflow.ActionBlock< TInput >._defaultTarget, System.action, System.exception, and System.Threading.Tasks.Dataflow.Internal.Common.IsCooperativeCancellation().