@workglow/task-graph 0.2.23 → 0.2.25

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.
Files changed (75) hide show
  1. package/dist/browser.js +1957 -1622
  2. package/dist/browser.js.map +38 -23
  3. package/dist/bun.js +1958 -1623
  4. package/dist/bun.js.map +38 -23
  5. package/dist/common.d.ts +14 -0
  6. package/dist/common.d.ts.map +1 -1
  7. package/dist/node.js +1958 -1623
  8. package/dist/node.js.map +38 -23
  9. package/dist/task/CacheCoordinator.d.ts +48 -0
  10. package/dist/task/CacheCoordinator.d.ts.map +1 -0
  11. package/dist/task/FallbackTask.d.ts +1 -0
  12. package/dist/task/FallbackTask.d.ts.map +1 -1
  13. package/dist/task/FallbackTaskRunner.d.ts +3 -2
  14. package/dist/task/FallbackTaskRunner.d.ts.map +1 -1
  15. package/dist/task/GraphAsTask.d.ts +1 -0
  16. package/dist/task/GraphAsTask.d.ts.map +1 -1
  17. package/dist/task/GraphAsTaskRunner.d.ts +4 -3
  18. package/dist/task/GraphAsTaskRunner.d.ts.map +1 -1
  19. package/dist/task/ITask.d.ts +19 -3
  20. package/dist/task/ITask.d.ts.map +1 -1
  21. package/dist/task/IteratorTaskRunner.d.ts +3 -2
  22. package/dist/task/IteratorTaskRunner.d.ts.map +1 -1
  23. package/dist/task/JobQueueFactory.d.ts +1 -0
  24. package/dist/task/JobQueueFactory.d.ts.map +1 -1
  25. package/dist/task/MapTask.d.ts +1 -0
  26. package/dist/task/MapTask.d.ts.map +1 -1
  27. package/dist/task/ReduceTask.d.ts +1 -0
  28. package/dist/task/ReduceTask.d.ts.map +1 -1
  29. package/dist/task/StreamProcessor.d.ts +38 -0
  30. package/dist/task/StreamProcessor.d.ts.map +1 -0
  31. package/dist/task/TaskRunContext.d.ts +33 -0
  32. package/dist/task/TaskRunContext.d.ts.map +1 -0
  33. package/dist/task/TaskRunner.d.ts +31 -47
  34. package/dist/task/TaskRunner.d.ts.map +1 -1
  35. package/dist/task/WhileTask.d.ts +1 -0
  36. package/dist/task/WhileTask.d.ts.map +1 -1
  37. package/dist/task/WhileTaskRunner.d.ts +3 -2
  38. package/dist/task/WhileTaskRunner.d.ts.map +1 -1
  39. package/dist/task-graph/Dataflow.d.ts +1 -1
  40. package/dist/task-graph/EdgeMaterializer.d.ts +88 -0
  41. package/dist/task-graph/EdgeMaterializer.d.ts.map +1 -0
  42. package/dist/task-graph/GraphSchemaUtils.d.ts +19 -0
  43. package/dist/task-graph/GraphSchemaUtils.d.ts.map +1 -1
  44. package/dist/task-graph/IWorkflow.d.ts +11 -1
  45. package/dist/task-graph/IWorkflow.d.ts.map +1 -1
  46. package/dist/task-graph/LoopBuilderContext.d.ts +60 -0
  47. package/dist/task-graph/LoopBuilderContext.d.ts.map +1 -0
  48. package/dist/task-graph/RunContext.d.ts +39 -0
  49. package/dist/task-graph/RunContext.d.ts.map +1 -0
  50. package/dist/task-graph/RunScheduler.d.ts +81 -0
  51. package/dist/task-graph/RunScheduler.d.ts.map +1 -0
  52. package/dist/task-graph/StreamPump.d.ts +122 -0
  53. package/dist/task-graph/StreamPump.d.ts.map +1 -0
  54. package/dist/task-graph/TaskGraph.d.ts +10 -2
  55. package/dist/task-graph/TaskGraph.d.ts.map +1 -1
  56. package/dist/task-graph/TaskGraphRunner.d.ts +31 -167
  57. package/dist/task-graph/TaskGraphRunner.d.ts.map +1 -1
  58. package/dist/task-graph/Workflow.d.ts +18 -99
  59. package/dist/task-graph/Workflow.d.ts.map +1 -1
  60. package/dist/task-graph/WorkflowBuilder.d.ts +93 -0
  61. package/dist/task-graph/WorkflowBuilder.d.ts.map +1 -0
  62. package/dist/task-graph/WorkflowCacheAdapter.d.ts +19 -0
  63. package/dist/task-graph/WorkflowCacheAdapter.d.ts.map +1 -0
  64. package/dist/task-graph/WorkflowEventBridge.d.ts +41 -0
  65. package/dist/task-graph/WorkflowEventBridge.d.ts.map +1 -0
  66. package/dist/task-graph/WorkflowFactories.d.ts +52 -0
  67. package/dist/task-graph/WorkflowFactories.d.ts.map +1 -0
  68. package/dist/task-graph/WorkflowPipe.d.ts +32 -0
  69. package/dist/task-graph/WorkflowPipe.d.ts.map +1 -0
  70. package/dist/task-graph/WorkflowRunContext.d.ts +27 -0
  71. package/dist/task-graph/WorkflowRunContext.d.ts.map +1 -0
  72. package/dist/task-graph/WorkflowTask.d.ts +19 -0
  73. package/dist/task-graph/WorkflowTask.d.ts.map +1 -0
  74. package/package.json +7 -7
  75. package/src/EXECUTION_MODEL.md +13 -5
package/dist/common.d.ts CHANGED
@@ -11,15 +11,29 @@ export * from "./task-graph/GraphSchemaUtils";
11
11
  export * from "./task-graph/ITaskGraph";
12
12
  export * from "./task-graph/TaskGraph";
13
13
  export * from "./task-graph/TaskGraphEvents";
14
+ export * from "./task-graph/EdgeMaterializer";
15
+ export * from "./task-graph/RunContext";
16
+ export * from "./task-graph/RunScheduler";
17
+ export * from "./task-graph/StreamPump";
14
18
  export * from "./task-graph/TaskGraphRunner";
15
19
  export * from "./task-graph/Conversions";
16
20
  export * from "./task-graph/GraphToWorkflowCode";
17
21
  export * from "./task-graph/IWorkflow";
22
+ export * from "./task-graph/LoopBuilderContext";
18
23
  export * from "./task-graph/Workflow";
24
+ export * from "./task-graph/WorkflowBuilder";
25
+ export * from "./task-graph/WorkflowCacheAdapter";
26
+ export * from "./task-graph/WorkflowEventBridge";
27
+ export * from "./task-graph/WorkflowFactories";
28
+ export * from "./task-graph/WorkflowPipe";
29
+ export * from "./task-graph/WorkflowRunContext";
19
30
  export * from "./task-graph/TransformRegistry";
20
31
  export * from "./task-graph/TransformTypes";
21
32
  export * from "./task-graph/transforms";
22
33
  export * from "./task-graph/autoConnect";
34
+ export * from "./task/CacheCoordinator";
35
+ export * from "./task/StreamProcessor";
36
+ export * from "./task/TaskRunContext";
23
37
  export * from "./task";
24
38
  export * from "./storage/TaskGraphRepository";
25
39
  export * from "./storage/TaskGraphTabularRepository";
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAE7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,QAAQ,CAAC;AAEvB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAE7C,cAAc,0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