You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement a crawler with System.Threading.Tasks.Dataflow, the core feature is to have a TransformBlock, which accepts an url as input, request the url, parse the response, and find more urls for the same block.
Then I noticed a problem that I cannot complete/stop this pipeline. The following code simulates my problem:
Activity
ZhaoXiangXML commentedon Dec 6, 2019
Versions of things: Windows 10.0.17763.864 64bit, .NET Core 3.0, System.Threading.Tasks.Dataflow 4.11.0
ZhaoXiangXML commentedon Dec 6, 2019
And I've also tried
PropagateCompletion = true, the result is all sameZhaoXiangXML commentedon Dec 6, 2019
Well problem solved by adding
block.LinkTo(DataflowBlock.NullTarget<string>(), linkOptions);, thanks to the help of the sample code