autobee 2.0.0-rc.34 → 2.0.0-rc.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -115,6 +115,7 @@ module.exports = class Autobee extends ReadyResource {
|
|
|
115
115
|
|
|
116
116
|
this._appending = []
|
|
117
117
|
this._draining = null
|
|
118
|
+
this._updating = null
|
|
118
119
|
this._bootWait = null
|
|
119
120
|
|
|
120
121
|
this.legacyViews = handlers.legacyViews || []
|
|
@@ -176,6 +177,10 @@ module.exports = class Autobee extends ReadyResource {
|
|
|
176
177
|
return this.system.flushes
|
|
177
178
|
}
|
|
178
179
|
|
|
180
|
+
get busy() {
|
|
181
|
+
return !!(this._draining || this._updating)
|
|
182
|
+
}
|
|
183
|
+
|
|
179
184
|
async _open() {
|
|
180
185
|
await this._preBoot()
|
|
181
186
|
|