StoryTeller.Engine.BatchWatcher.BatchWatcher C# (CSharp) Method

BatchWatcher() public method

public BatchWatcher ( IEnumerable specs ) : System.Collections.Generic
specs IEnumerable
return System.Collections.Generic
        public BatchWatcher(IEnumerable<Specification> specs)
        {
            specs.Each(x => _records.Add(x.id, new BatchRecord {specification = x}));
            _task = new TaskCompletionSource<IEnumerable<BatchRecord>>();
            CompleteCheck();
        }