c# - TPL Dataflow, notification when data block received first item -


i wonder whether possible subscribe one-time notification when first item received in input buffer or processed in data block. aware can set flag within data block create overhead run check flag on each new item. data block processes several million items flag adds unnecessary overhead.

is there better way notified on first incoming item?

you try creating link maxmessages=1 block processes notification. link removed after delivering single message.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -