@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.
@@ -2,5 +2,6 @@ import { AbstractEngine } from "./AbstractEngine";
2
2
  import { GraphRuntime } from "./GraphRuntime";
3
3
  export declare class PushEngine extends AbstractEngine {
4
4
  constructor(graphRuntime: GraphRuntime);
5
+ launch(): void;
5
6
  }
6
7
  //# sourceMappingURL=PushEngine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PushEngine.d.ts","sourceRoot":"","sources":["../../../../src/runtime/PushEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,UAAW,SAAQ,cAAc;gBAChC,YAAY,EAAE,YAAY;CAGvC"}
1
+ {"version":3,"file":"PushEngine.d.ts","sourceRoot":"","sources":["../../../../src/runtime/PushEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,UAAW,SAAQ,cAAc;gBAChC,YAAY,EAAE,YAAY;IAI7B,MAAM,IAAI,IAAI;CAIxB"}
package/lib/esm/index.js CHANGED
@@ -1879,7 +1879,7 @@ class AbstractEngine {
1879
1879
  return this.graphRuntime.whenIdle();
1880
1880
  }
1881
1881
  dispose() {
1882
- this.graphRuntime.dispose();
1882
+ // this.graphRuntime.dispose();
1883
1883
  }
1884
1884
  }
1885
1885
 
@@ -1887,6 +1887,10 @@ class PushEngine extends AbstractEngine {
1887
1887
  constructor(graphRuntime) {
1888
1888
  super(graphRuntime);
1889
1889
  }
1890
+ launch() {
1891
+ super.launch();
1892
+ this.graphRuntime.resume();
1893
+ }
1890
1894
  }
1891
1895
 
1892
1896
  class BatchedEngine extends AbstractEngine {