// TODO, 5, AngelList.Query: Figure out how to do call BatchAsynchResult.SignalCompleted() automatically at the end of the executing method, as AsyncResult does. public void SignalCompleted() { completedEvent.Set(); isCompleted = true; QueryBatchCounter.Decrement(); }