Example #1
0
 public static Task <T> FromResult <T>(T t) where T : class
 {
     return(FromResultCache <T> .FromResult(t));
 }
Example #2
0
 public static Task <T> FromResult <T>(T t) where T : class
 => FromResultCache <T> .FromResult(t);