emit method
Implementation
void emit(UDocValue next) {
if (_disposed) return;
value = next;
if (!_states.isClosed) _states.add(next);
}
void emit(UDocValue next) {
if (_disposed) return;
value = next;
if (!_states.isClosed) _states.add(next);
}