Beispiel #1
0
        public Wire(Guid id, IInputConnector input, IOutputConnector output)
        {
            Id     = id;
            Input  = input;
            Output = output;

            _subscription = output.Subscribe(input);
        }
Beispiel #2
0
        protected override Task OnStart(CancellationToken cancellationToken)
        {
            _subscription = _connector.Subscribe((msg) =>
            {
                // TODO
            });

            return(Task.CompletedTask);
        }