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.