Click or drag to resize
Akka.NETPipeToSupportPipeToT Method (TaskT, ICanTell, IActorRef, FuncT, Object, FuncException, Object)
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: 1.2.1.36 (1.2.1.36)
Syntax
public static Task PipeTo<T>(
	this Task<T> taskToPipe,
	ICanTell recipient,
	IActorRef sender = null,
	Func<T, Object> success = null,
	Func<Exception, Object> failure = null
)

Parameters

taskToPipe
Type: System.Threading.TasksTaskT
TBD
recipient
Type: Akka.ActorICanTell
TBD
sender (Optional)
Type: Akka.ActorIActorRef
TBD
success (Optional)
Type: SystemFuncT, Object
TBD
failure (Optional)
Type: SystemFuncException, Object
TBD

Type Parameters

T
TBD

Return Value

Type: Task
TBD

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