@dudousxd/nestjs-durable 0.48.1 → 0.48.2
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/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/skills/durable-setup/SKILL.md +5 -2
package/dist/index.cjs
CHANGED
|
@@ -2517,6 +2517,8 @@ var WorkflowService = class {
|
|
|
2517
2517
|
* Resolve once a run settles — terminal (completed/failed/cancelled/dead) or suspended. `start`
|
|
2518
2518
|
* only enqueues (a worker runs the body), so pair them when a request needs the outcome:
|
|
2519
2519
|
* `const { runId } = await svc.start(...); const result = await svc.waitForRun(runId)`.
|
|
2520
|
+
* `until: 'terminal'` waits past suspensions until the run completes/fails/is cancelled — what a
|
|
2521
|
+
* delayed start (`opts.startAt`) needs, since it is `suspended` until its timer fires.
|
|
2520
2522
|
*/
|
|
2521
2523
|
waitForRun(runId, opts) {
|
|
2522
2524
|
return this.engine.waitForRun(runId, opts);
|