Example #1
0
        public async Task Watch <T>(string eventName, Action <ActorEvent <T> > handler)
        {
            var subscription = await _pubsub.Watch(_actorInterface, eventName, _actorId, handler);

            _subscriptions.Add(subscription);
        }