@jupyterlab/coreutils
Advanced tools
Comparing version 3.0.0-alpha.4 to 3.0.0-alpha.5
@@ -196,7 +196,6 @@ "use strict"; | ||
} | ||
const pending = this._tick; | ||
// The `when` promise in the constructor options acts as a gate. | ||
if (this.state.phase === 'constructed') { | ||
if (next.phase !== 'when-rejected' && next.phase !== 'when-resolved') { | ||
yield pending.promise; | ||
yield this.tick; | ||
} | ||
@@ -210,2 +209,3 @@ } | ||
const last = this.state; | ||
const pending = this._tick; | ||
const scheduled = new coreutils_1.PromiseDelegate(); | ||
@@ -212,0 +212,0 @@ const state = Object.assign({ interval: this.frequency.interval, payload: null, phase: 'standby', timestamp: new Date().getTime() }, next); |
{ | ||
"name": "@jupyterlab/coreutils", | ||
"version": "3.0.0-alpha.4", | ||
"version": "3.0.0-alpha.5", | ||
"description": "JupyterLab - Core Utilities", | ||
@@ -54,3 +54,3 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
}, | ||
"gitHead": "2d428c2cdbacf04f17e10b56081a1468b447c2da" | ||
"gitHead": "1d16c024dc0016930319c975b7d1978656a99f91" | ||
} |
160715