IResult - TheRealKoeDev/Railway-Results GitHub Wiki

Then

public static TResult Then<TResult>(this TResult target, Action action) where TResult: IResult;

public static TResult Then<TResult, TNewResult>(this TResult target, Func<TNewResult> nextResultFunc) 
    where TResult: IResult 
    where TNewResult: IResult;

public static TResult Then<TResult, TNewResult>(this TResult target, Func<TResult, TNewResult> nextResultFunc) 
    where TResult: IResult 
    where TNewResult: IResult;

Try

public static TryCatchResult<T> Try<TResult, T>(this TResult result, Func<TResult, T> resultFunc)
    where TResult : IResult;

Keep

public static TResult Keep<T, TResult>(this TResult target, Func<T> keepFunc, out T kept)
    where TResult: IResult;
⚠️ **GitHub.com Fallback** ⚠️