예제 #1
0
 public static Task <Result <T> > Map <T>(this Task <Result> resultTask, Func <Task <T> > func)
 => resultTask.OnSuccess(func);
예제 #2
0
 public static Task <Result <K, E> > Map <T, K, E>(this Task <Result <T, E> > resultTask,
                                                   Func <T, Task <K> > func) where E : class
 => resultTask.OnSuccess(func);