public FeedOutputQueue <T> Subscribe() { lock (_lockObject) { if (isDisposed) { throw new ApplicationException("Feed is already disposed"); } var outputQueue = new FeedOutputQueue <T>(this); _outputQueues.Add(outputQueue); return(outputQueue); } }
internal void Unsubscribe(FeedOutputQueue <T> outputQueue) { _outputQueues.Remove(outputQueue); }