예제 #1
0
 public IDisposable ListenUpdates(Action <T> callback)
 {
     if (upVal == null)
     {
         upVal = new EventStream <T>();
     }
     return(upVal.Subscribe(callback));
 }
예제 #2
0
 public IDisposable ListenUpdates(Action <TVal> reaction)
 {
     return(changed.Subscribe(reaction));
 }
예제 #3
0
 public IDisposable Subscribe(Action <T> action) => receiving.Subscribe(action);