Esempio n. 1
0
 public static Recorded <INotification <T> > OnNext <T>(long ticks, T value)
 {
     return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnNext <T>(value)));
 }
Esempio n. 2
0
 public static Recorded <INotification <T> > OnNext <T>(long ticks, Func <T, bool> predicate)
 {
     return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnNext <T>(predicate)));
 }
Esempio n. 3
0
        public void OnNext(TSource value)
        {
            var serialized = _serializer.ToBytes(value);

            _messageRouter.Publish(_topic, ObserverNotification.CreateOnNext <byte[]>(serialized));
        }