func (b *EvalBatcher) CreateEval(e *structs.Evaluation) *EvalFuture {
	b.l.Lock()
	if b.f == nil {
		b.f = NewEvalFuture()
	}
	b.l.Unlock()

	b.inCh <- e
	return b.f
}
// CreateEval batches the creation of the evaluation and returns a future that
// tracks the evaluations creation.
CreateEval batches the creation of the evaluation and returns a future that
tracks the evaluations creation.
// CreateEval batches the creation of the evaluation and returns a future that // tracks the evaluations creation .
func (b *EvalBatcher) CreateEval(e *structs.Evaluation) *EvalFuture {
	b.l.Lock()
	if b.f == nil {
		b.f = NewEvalFuture()
	}
	b.l.Unlock()
	b.inCh <- e
	return b.f
}
func ( b * EvalBatcher ) CreateEval ( e * structs . Evaluation ) * EvalFuture { b . l . Lock ( ) if b . f == nil { b . f = NewEvalFuture ( ) } b . l . Unlock ( ) b . inCh <- e return b . f }
CreateEval batches the creation of the evaluation and returns a future that
tracks the evaluations creation.
CreateEval batches the creation of the evaluation and returns a future that tracks the evaluations creation .