private void Join_if_ready(JoinBucket bucket, Action <List <object> > continueOnJoin) { if (bucket.Is_ready()) { continueOnJoin(bucket.Join_inputs()); } }
private void Enqueue(JoinBucket bucket, int inputIndex, object inputData) { if (bucket.Is_ready()) { bucket.InputQueues[inputIndex].Dequeue(); } bucket.InputQueues[inputIndex].Enqueue(inputData); }