예제 #1
0
 public void Start()
 {
     _readSubscription = _dataPortal.Messages
                         .SelectMany(dataFrame => _dataFrameProcessor.GetHoldStates(dataFrame))
                         .Do(state => _climbingHoldStateSubject.OnNext(state))
                         .ObserveOn(_schedulerProvider.Default)
                         .SubscribeOn(_schedulerProvider.Default)
                         .Subscribe();
     _dataPortal.Start();
 }