MCPcopy
hub / github.com/visionmedia/node-progress / bar4

Function bar4

examples/formats.js:52–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52function bar4() {
53 var bar = new ProgressBar(' :current of :total :percent', {
54 total: 20
55 });
56
57 var id = setInterval(function(){
58 bar.tick();
59 if (bar.complete) {
60 clearInterval(id);
61 bar5();
62 }
63 }, 100);
64}
65
66function bar5() {
67 var bar = new ProgressBar(' [:bar] :elapseds elapsed, eta :etas', {

Callers 1

bar3Function · 0.85

Calls 1

bar5Function · 0.85

Tested by

no test coverage detected