Exemplo n.º 1
0
 public static Task RunAsync(this IHostAction action, CancellationToken cancellation)
 {
     return(action.RunAsync(cancellation));
 }
Exemplo n.º 2
0
 public static Task RunAsync(this IHostAction action)
 {
     return(RunAsync(action, new CancellationTokenSource().Token));
 }