public static Task <Result <E> > OnSuccessAsync <E>(this Result <E> result, Func <Task <Result <E> > > onsuccess) { return(ResultCoreAsyncExtensions.BindAsync(result, onsuccess)); }
public static Task <O> ReturnAsync <T, E, O>(this Task <Result <T, E> > result, Func <T, O> onsuccess, Func <E, O> onfailure) { return(ResultCoreAsyncExtensions.MatchAsync(result, onsuccess, onfailure)); }