Example #1
0
 internal static Task <TOutput> SelectMany <T, TResult, TOutput>
 (
     this Task <T> source,
     Func <T, Task <TResult> > func,
     Func <T, TResult, TOutput> projection
 ) => source.Bind(func)
 .Map(result => projection(source.Result, result));
Example #2
0
 internal static Task <TResult> SelectMany <T, TResult>
 (
     this Task <T> source,
     Func <T, Task <TResult> > func
 ) => source.Bind(func);