Beispiel #1
0
 public static Task <Result <T> > Map <T>(this Task <Result> resultTask, Func <Task <T> > func)
 => resultTask.OnSuccess(func);
Beispiel #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);