Example #1
0
 public static ValueTask <TResult> ExecuteAsync <TService, TResult>(
     this GlobalServiceAccessor accessor,
     Func <TService, ValueTask <TResult> > action) =>
 InternalGlobalService.ExecuteAsync(action);
Example #2
0
 public static ValueTask ExecuteAsync <TService>(
     this GlobalServiceAccessor accessor,
     Func <TService, ValueTask> action,
     bool ignoreNotPresent = false) =>
 InternalGlobalService.ExecuteAsync(action, ignoreNotPresent);