Click or drag to resize
Akka.NETFutureTimeoutSupportAfterT Method
Returns a Task that will be completed with the success or failure of the provided value after the specified duration.

Namespace:  Akka.Pattern
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static Task<T> After<T>(
	TimeSpan duration,
	IScheduler scheduler,
	Func<Task<T>> value
)

Parameters

duration
Type: SystemTimeSpan
The duration to wait.
scheduler
Type: Akka.ActorIScheduler
The scheduler instance to use.
value
Type: SystemFuncTaskT
The task we're going to wrap.

Type Parameters

T
The return type of task.

Return Value

Type: TaskT
a Task that will be completed with the success or failure of the provided value after the specified duration
See Also