コード例 #1
0
        private void StartPricePublisher()
        {
            var priceTrunkStream = _service.GetAllPriceUpdates(); // TODO dispose this when service host goes down
            var priceTrunk       = new PricePublisher(priceTrunkStream, _broker);

            priceTrunk.Start().Wait();
        }