Beispiel #1
0
        public Task <T> StartWatch <T>(Guid id, TimeSpan timeout)
        {
            var listener = new ReplyListener <T>(this, id, timeout);

            _listeners[id] = listener;

            return(listener.Task);
        }
Beispiel #2
0
 protected bool Equals(ReplyListener <T> other)
 {
     return(string.Equals(_originalId, other._originalId));
 }