corestore 7.0.7 → 7.0.8
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 +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -211,6 +211,14 @@ class Corestore extends ReadyResource {
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
+
suspend () {
|
|
215
|
+
return this.storage.db.suspend()
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
resume () {
|
|
219
|
+
return this.storage.db.resume()
|
|
220
|
+
}
|
|
221
|
+
|
|
214
222
|
session (opts) {
|
|
215
223
|
this._maybeClosed()
|
|
216
224
|
const root = this.root || this
|