public SerializedBatchableWorker(IWorkDelegate <IList <T> > workHandler) { this.workHandler = workHandler; this.pendingList = new List <T>(); }
public SerializedWorker(IWorkDelegate <T> workProcessor) { this.workDelegate = workProcessor; this.state = State.Idle; this.pendingWorkList = new LinkedList <T>(); }