public static Recorded <INotification <T> > OnNext <T>(long ticks, T value) { return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnNext <T>(value))); }
public static Recorded <INotification <T> > OnNext <T>(long ticks, Func <T, bool> predicate) { return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnNext <T>(predicate))); }
public void OnNext(TSource value) { var serialized = _serializer.ToBytes(value); _messageRouter.Publish(_topic, ObserverNotification.CreateOnNext <byte[]>(serialized)); }