@abyss-project/runtime 3.3.0 → 3.3.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.types.js","sourceRoot":"","sources":["../../src/schedule/schedule.types.ts"],"names":[],"mappings":";;;AAQA,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAE5B,uDAAiC,CAAA;IAEjC,iDAA2B,CAAA;IAE3B,yDAAmC,CAAA;AACrC,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B;AAOD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAE3B,oEAA+C,CAAA;IAE/C,4EAAuD,CAAA;IAEvD,sEAAiD,CAAA;IAEjD,8EAAyD,CAAA;IAEzD,0DAAqC,CAAA;AACvC,CAAC,EAXW,iBAAiB,iCAAjB,iBAAiB,QAW5B;AA+CD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;AACrB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
1
+ {"version":3,"file":"schedule.types.js","sourceRoot":"","sources":["../../src/schedule/schedule.types.ts"],"names":[],"mappings":";;;AAQA,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAE5B,uDAAiC,CAAA;IAEjC,iDAA2B,CAAA;IAE3B,yDAAmC,CAAA;AACrC,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B;AAOD,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAE3B,oEAA+C,CAAA;IAE/C,4EAAuD,CAAA;IAEvD,sEAAiD,CAAA;IAEjD,8EAAyD,CAAA;IAEzD,0DAAqC,CAAA;AACvC,CAAC,EAXW,iBAAiB,iCAAjB,iBAAiB,QAW5B;AAiDD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;AACrB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/runtime",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Abyss automation core: definitions, interpreter, runner protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,8 +36,10 @@ export enum ScheduleErrorCode {
36
36
  /** Options shared by `abyss.schedule.after` and `abyss.schedule.at`. */
37
37
  export interface ScheduleOptions {
38
38
  /**
39
- * Deduplication key: while a delayed run with the same key is pending for the Service and
39
+ * Deduplication key: while a delayed run of the same task with the same key is pending in the
40
40
  * environment, scheduling again returns that run's id with `deduplicated: true`.
41
+ * `abyss.schedule.cancel(key)` cancels the pending runs with that key across every task of the
42
+ * Service in the environment.
41
43
  */
42
44
  key?: string;
43
45
  }