Click or drag to resize
PipeToSupportPipeToT Method
Pipes the output of a Task directly to the [!:recipient]'s mailbox once the task completes

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public static Task PipeTo<T>(
	this Task<T> taskToPipe,
	ICanTell recipient,
	ActorRef sender = null
)

Parameters

taskToPipe
Type: System.Threading.TasksTaskT

[Missing <param name="taskToPipe"/> documentation for "M:Akka.Actor.PipeToSupport.PipeTo``1(System.Threading.Tasks.Task{``0},Akka.Actor.ICanTell,Akka.Actor.ActorRef)"]

recipient
Type: Akka.ActorICanTell

[Missing <param name="recipient"/> documentation for "M:Akka.Actor.PipeToSupport.PipeTo``1(System.Threading.Tasks.Task{``0},Akka.Actor.ICanTell,Akka.Actor.ActorRef)"]

sender (Optional)
Type: Akka.ActorActorRef

[Missing <param name="sender"/> documentation for "M:Akka.Actor.PipeToSupport.PipeTo``1(System.Threading.Tasks.Task{``0},Akka.Actor.ICanTell,Akka.Actor.ActorRef)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Akka.Actor.PipeToSupport.PipeTo``1(System.Threading.Tasks.Task{``0},Akka.Actor.ICanTell,Akka.Actor.ActorRef)"]

Return Value

Type: Task

[Missing <returns> documentation for "M:Akka.Actor.PipeToSupport.PipeTo``1(System.Threading.Tasks.Task{``0},Akka.Actor.ICanTell,Akka.Actor.ActorRef)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TaskT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also