JSFiddle - React, Tailwind, and code Playground

HTML

<meter id="mtr1" value="0" min="0" max="10"></meter>

JavaScript

function incMtrAsync(max, delay, el) {
    if (el.value++ < max) {
        setTimeout(incMtrAsync.bind(null, max, delay, el), delay);
    }   
}

incMtrAsync(10, 250, document.getElementById("mtr1"));