@bian-womp/spark-graph 0.2.48 → 0.2.50
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/lib/cjs/index.cjs +5 -1
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/cjs/src/runtime/PushEngine.d.ts +1 -0
- package/lib/cjs/src/runtime/PushEngine.d.ts.map +1 -1
- package/lib/esm/index.js +5 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/src/runtime/PushEngine.d.ts +1 -0
- package/lib/esm/src/runtime/PushEngine.d.ts.map +1 -1
- package/package.json +2 -2
package/lib/cjs/index.cjs
CHANGED
|
@@ -1881,7 +1881,7 @@ class AbstractEngine {
|
|
|
1881
1881
|
return this.graphRuntime.whenIdle();
|
|
1882
1882
|
}
|
|
1883
1883
|
dispose() {
|
|
1884
|
-
this.graphRuntime.dispose();
|
|
1884
|
+
// this.graphRuntime.dispose();
|
|
1885
1885
|
}
|
|
1886
1886
|
}
|
|
1887
1887
|
|
|
@@ -1889,6 +1889,10 @@ class PushEngine extends AbstractEngine {
|
|
|
1889
1889
|
constructor(graphRuntime) {
|
|
1890
1890
|
super(graphRuntime);
|
|
1891
1891
|
}
|
|
1892
|
+
launch() {
|
|
1893
|
+
super.launch();
|
|
1894
|
+
this.graphRuntime.resume();
|
|
1895
|
+
}
|
|
1892
1896
|
}
|
|
1893
1897
|
|
|
1894
1898
|
class BatchedEngine extends AbstractEngine {
|