public static ICompletable DoAfterTerminate(this ICompletable source, Action onAfterTerminateCall) { return(Create(cs => { LambdaCompletableSubscriber lcs = new LambdaCompletableSubscriber( cs, d => { }, () => { }, e => { }, onAfterTerminateCall); source.Subscribe(lcs); })); }
public static ICompletable DoOnError(this ICompletable source, Action <Exception> onErrorCall) { return(Create(cs => { LambdaCompletableSubscriber lcs = new LambdaCompletableSubscriber( cs, d => { }, () => { }, onErrorCall, () => { }); source.Subscribe(lcs); })); }