public static ISingle <T> RetryWhen <T>(this ISingle <T> source, Func <IPublisher <Exception>, IPublisher <object> > whenFunction) { return(source.ToPublisher().RetryWhen(whenFunction).ToSingle()); }
public static ISingle <T> RetryWhen <T>(this ISingle <T> source, Func <IObservable <Exception>, IObservable <object> > whenFunction) { return(source.ToPublisher().RetryWhen(f => whenFunction(f.ToObservable()).ToPublisher()).ToSingle()); }
public static IPublisher <T> RepeatWhen <T>(this ISingle <T> source, Func <IPublisher <object>, IPublisher <object> > whenFunction) { return(source.ToPublisher().RepeatWhen(whenFunction)); }
public static IPublisher <T> Repeat <T>(this ISingle <T> source, Func <bool> shouldRepeat) { return(source.ToPublisher().Repeat(shouldRepeat)); }
public static IPublisher <T> Repeat <T>(this ISingle <T> source, long times) { return(source.ToPublisher().Repeat(times)); }
public static IPublisher <T> Repeat <T>(this ISingle <T> source) { return(source.ToPublisher().Repeat()); }