@hydranium/glsp-client-theia 1.0.0-next.284 → 1.0.0-next.285

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.
@@ -46,9 +46,10 @@ import { GLSPSaveable } from '@eclipse-glsp/theia-integration/lib/browser/diagra
46
46
  */
47
47
  export declare class HydraniumGlspSaveable extends GLSPSaveable {
48
48
  /**
49
- * How long a save waits for the server's response before it rejects.
50
- * Long, because the wait only runs out when the server hangs, and a save
51
- * that rejects in Theia's Save All lets the window close over it.
49
+ * How long a save waits for the server's response before it rejects. The
50
+ * server answers up to its language-client settle bound after the write, so
51
+ * this exceeds that bound with room for the write itself; a save that
52
+ * rejects in Theia's Save All lets the window close over it.
52
53
  */
53
54
  protected saveTimeout: number;
54
55
  /** The saves sent and not yet settled. */
@@ -1 +1 @@
1
- {"version":3,"file":"glsp-saveable.d.ts","sourceRoot":"","sources":["../../src/browser/glsp-saveable.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAMlF,OAAO,EAAE,YAAY,EAAE,MAAM,mEAAmE,CAAC;AAEjG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IACpD;;;;OAIG;IACH,UAAmB,WAAW,SAAU;IACxC,0CAA0C;IAC1C,SAAS,CAAC,QAAQ,CAAC,YAAY,qBAA4B;IAE3D,IAAa,KAAK,IAAI,OAAO,CAK5B;IAEQ,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAS7B;IAED;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,IAAI,OAAO,CAEtC;IAED,SAAS,CAAC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAmBlC;CACH"}
1
+ {"version":3,"file":"glsp-saveable.d.ts","sourceRoot":"","sources":["../../src/browser/glsp-saveable.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAMlF,OAAO,EAAE,YAAY,EAAE,MAAM,mEAAmE,CAAC;AAEjG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IACpD;;;;;OAKG;IACH,UAAmB,WAAW,SAAU;IACxC,0CAA0C;IAC1C,SAAS,CAAC,QAAQ,CAAC,YAAY,qBAA4B;IAE3D,IAAa,KAAK,IAAI,OAAO,CAK5B;IAEQ,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAS7B;IAED;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,IAAI,OAAO,CAEtC;IAED,SAAS,CAAC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAmBlC;CACH"}
@@ -53,11 +53,12 @@ const glsp_saveable_1 = require("@eclipse-glsp/theia-integration/lib/browser/dia
53
53
  */
54
54
  class HydraniumGlspSaveable extends glsp_saveable_1.GLSPSaveable {
55
55
  /**
56
- * How long a save waits for the server's response before it rejects.
57
- * Long, because the wait only runs out when the server hangs, and a save
58
- * that rejects in Theia's Save All lets the window close over it.
56
+ * How long a save waits for the server's response before it rejects. The
57
+ * server answers up to its language-client settle bound after the write, so
58
+ * this exceeds that bound with room for the write itself; a save that
59
+ * rejects in Theia's Save All lets the window close over it.
59
60
  */
60
- saveTimeout = 10_000;
61
+ saveTimeout = 20_000;
61
62
  /** The saves sent and not yet settled. */
62
63
  pendingSaves = new Set();
63
64
  get dirty() {
@@ -1 +1 @@
1
- {"version":3,"file":"glsp-saveable.js","sourceRoot":"","sources":["../../src/browser/glsp-saveable.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;AAElF,kDAA6D;AAC7D,4EAA4E;AAC5E,iFAAiF;AACjF,mBAAmB;AACnB,qGAAiG;AAEjG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,2BAAmC,SAAQ,4BAAY;IACpD;;;;OAIG;IACgB,WAAW,GAAG,MAAM,CAAC;IACxC,0CAA0C;IACvB,YAAY,GAAG,IAA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2
  "name": "@hydranium/glsp-client-theia",
3
- "version": "1.0.0-next.284",
3
+ "version": "1.0.0-next.285",
4
4
  "description": "Theia-coupled client primitives for GLSP heads built on @hydranium/glsp-server. Provides the action dispatcher, channel logger, and connection-handler bases that Theia-based adopters extend; companion of @hydranium/glsp-server.",
5
5
  "keywords": [
6
6
  "diagram",
@@ -70,10 +70,10 @@
70
70
  "@eclipse-glsp/client": "2.7.0",
71
71
  "@eclipse-glsp/server": "2.7.0",
72
72
  "@eclipse-glsp/theia-integration": "2.7.0",
73
- "@hydranium/client-theia": "1.0.0-next.284",
74
- "@hydranium/core": "1.0.0-next.284",
75
- "@hydranium/glsp-server": "1.0.0-next.284",
76
- "@hydranium/protocol": "1.0.0-next.284",
73
+ "@hydranium/client-theia": "1.0.0-next.285",
74
+ "@hydranium/core": "1.0.0-next.285",
75
+ "@hydranium/glsp-server": "1.0.0-next.285",
76
+ "@hydranium/protocol": "1.0.0-next.285",
77
77
  "@theia/core": "^1.70.0",
78
78
  "@theia/process": "^1.70.0",
79
79
  "@theia/workspace": "^1.70.0",
@@ -88,8 +88,8 @@
88
88
  "peerDependencies": {
89
89
  "@eclipse-glsp/client": "^2.6.0",
90
90
  "@eclipse-glsp/theia-integration": "^2.6.0",
91
- "@hydranium/client-theia": "1.0.0-next.284",
92
- "@hydranium/protocol": "1.0.0-next.284",
91
+ "@hydranium/client-theia": "1.0.0-next.285",
92
+ "@hydranium/protocol": "1.0.0-next.285",
93
93
  "@theia/core": "^1.70.0",
94
94
  "@theia/process": "^1.70.0",
95
95
  "@theia/workspace": "^1.70.0",
@@ -52,11 +52,12 @@ import { GLSPSaveable } from '@eclipse-glsp/theia-integration/lib/browser/diagra
52
52
  */
53
53
  export class HydraniumGlspSaveable extends GLSPSaveable {
54
54
  /**
55
- * How long a save waits for the server's response before it rejects.
56
- * Long, because the wait only runs out when the server hangs, and a save
57
- * that rejects in Theia's Save All lets the window close over it.
55
+ * How long a save waits for the server's response before it rejects. The
56
+ * server answers up to its language-client settle bound after the write, so
57
+ * this exceeds that bound with room for the write itself; a save that
58
+ * rejects in Theia's Save All lets the window close over it.
58
59
  */
59
- protected override saveTimeout = 10_000;
60
+ protected override saveTimeout = 20_000;
60
61
  /** The saves sent and not yet settled. */
61
62
  protected readonly pendingSaves = new Set<Promise<void>>();
62
63