Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npkgz/cli-progress
/ updateETA
Method
updateETA
lib/generic-bar.js:229–232 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
227
228
// force eta calculation update (long running processes)
229
updateETA(){
230
// add new value; recalculate eta
231
this.eta.update(Date.now(), this.value, this.total);
232
}
233
}
Callers
1
render
Method · 0.95
Calls
1
update
Method · 0.45
Tested by
no test coverage detected