Class AsyncRunner
This class is no longer used anymore and should be avoided as it is just meant as a last resort when blending async and sync operations. The code is still here to support versions before 3.3.9.0 of AWSSDK.DynamoDBv2.
public static class AsyncRunner
- Inheritance
-
AsyncRunner
- Inherited Members
Methods
Run(Action, CancellationToken)
public static Task Run(Action action, CancellationToken cancellationToken)
Parameters
action
ActioncancellationToken
CancellationToken
Returns
Run<T>(Func<T>, CancellationToken)
public static Task<T> Run<T>(Func<T> action, CancellationToken cancellationToken)
Parameters
action
Func<T>cancellationToken
CancellationToken
Returns
- Task<T>
Type Parameters
T