public static Recorded <INotification <T> > OnError <T>(long ticks, Exception error) { return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnError <T>(error))); }
public static Recorded <INotification <T> > OnError <T>(long ticks, Func <Exception, bool> predicate) { return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnError <T>(predicate))); }
public void OnError(Exception error) { _messageRouter.Publish(_topic, ObserverNotification.CreateOnError <byte[]>(error)); }