/ration

ration out items at intervals

Primary LanguageJavaScript

ration

Ration out items in a list in a set amount of time.

       // the list      // duration
ration(['a', 'b', 'c'], 10000,
    // called at 0s, 500, and 10000
    function(letter) {
});