| FutureTimeoutSupportAfterT 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
)
static member After :
duration : TimeSpan *
scheduler : IScheduler *
value : Func<Task<'T>> -> Task<'T>
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:
TaskTa
Task that will be completed with the success or failure
of the provided value after the specified duration
See Also