add procedure for attaching to running jobs

This commit is contained in:
Jake McDermott
2018-05-11 22:59:45 -04:00
parent 665354c32e
commit 503668141b
4 changed files with 80 additions and 22 deletions

View File

@@ -38,6 +38,12 @@ function JobEventEngine ($q) {
};
};
this.setMinLine = min => {
if (min > this.lines.min) {
this.lines.min = min;
}
};
this.getBatchFactors = size => {
const factors = [1];
@@ -140,10 +146,6 @@ function JobEventEngine ($q) {
this.renderFrame = events => this.hooks.onEventFrame(events)
.then(() => {
if (this.scroll.isLocked()) {
this.scroll.scrollToBottom();
}
if (this.isEnding()) {
const lastEvents = this.page.emptyBuffer();