Exemplo n.º 1
0
        internal void SubscribeTwin <T>(string name, Func <T, Task <TwinResult> > handler) where T : TypeTwin
        {
            Logger.LogInformation("SubscribeTwin called");

            _twinSubscriptions[name] = new SubscriptionCallback(name, handler, typeof(T));
        }