Пример #1
0
        protected override async Task OnStarted(Proto.IContext context)
        {
            await base.OnStarted(context).ConfigureAwait(false);

            _serialDevice.Init();
            _disposeContainer.Add(_serialDevice.Subscribe(Handle));
            _disposeContainer.Add(_serialDevice);
        }