Skip to content

Commit 10c2233

Browse files
author
Marco Brack
committed
Remove the render throttle logic
The render throttle prevents rendering in synchronous usecases, see issue #170.
1 parent 09e8286 commit 10c2233

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/node-progress.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ ProgressBar.prototype.tick = function(len, tokens){
114114
*/
115115

116116
ProgressBar.prototype.render = function (tokens) {
117-
clearTimeout(this.renderThrottleTimeout);
118-
this.renderThrottleTimeout = null;
119-
120117
if (tokens) this.tokens = tokens;
121118

122119
if (!this.stream.isTTY) return;

0 commit comments

Comments
 (0)