fixing more line breaks on parens
Showing
1 changed file
with
4 additions
and
8 deletions
... | @@ -353,10 +353,8 @@ export class AsyncStream extends Stream { | ... | @@ -353,10 +353,8 @@ export class AsyncStream extends Stream { |
353 | processJob_() { | 353 | processJob_() { |
354 | this.jobs.shift()(); | 354 | this.jobs.shift()(); |
355 | if (this.jobs.length) { | 355 | if (this.jobs.length) { |
356 | this.timeout_ = setTimeout( | 356 | this.timeout_ = setTimeout(this.processJob_.bind(this), |
357 | this.processJob_.bind(this), | 357 | this.delay); |
358 | this.delay | ||
359 | ); | ||
360 | } else { | 358 | } else { |
361 | this.timeout_ = null; | 359 | this.timeout_ = null; |
362 | } | 360 | } |
... | @@ -364,10 +362,8 @@ export class AsyncStream extends Stream { | ... | @@ -364,10 +362,8 @@ export class AsyncStream extends Stream { |
364 | push(job) { | 362 | push(job) { |
365 | this.jobs.push(job); | 363 | this.jobs.push(job); |
366 | if (!this.timeout_) { | 364 | if (!this.timeout_) { |
367 | this.timeout_ = setTimeout( | 365 | this.timeout_ = setTimeout(this.processJob_.bind(this), |
368 | this.processJob_.bind(this), | 366 | this.delay); |
369 | this.delay | ||
370 | ); | ||
371 | } | 367 | } |
372 | } | 368 | } |
373 | } | 369 | } | ... | ... |
-
Please register or sign in to post a comment