Here is the official sample using PipeTo() in Akka.NET:
Receive<BeginProcessFeed>(feed => {
The question is why should we use Sender here? Why not just use:
_feedFactory.CreateFeedAsync(feed.FeedUri).PipeTo(Sender);
In this example and in the documents it is said that it is mandatory to use closure here. But I see no reason for this.
If we used ContinueWith() , it PipeTo() sense to use a closure inside the continuation, but not as the PipeTo() parameter.
Did I miss something?
source share