@fluidgrids/workflows 2026.1028.2 → 2026.1029.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.
- package/README.md +72 -10
- package/dist/{activation-DnhG7SmF.d.ts → activation-BnVQMv9y.d.ts} +1 -1
- package/dist/{activation-BBh1p82z.d.cts → activation-CESehfYi.d.cts} +1 -1
- package/dist/{chunk-XHXIDVEC.js → chunk-25BKWR2O.js} +1 -1
- package/dist/{chunk-UK3WM7YZ.cjs → chunk-2B37XAFQ.cjs} +44 -8
- package/dist/{chunk-DJYMDLV5.js → chunk-2DDULZFM.js} +93 -1
- package/dist/{chunk-623FVQSN.cjs → chunk-3FIDHONL.cjs} +104 -0
- package/dist/chunk-6QPOJZT6.cjs +1180 -0
- package/dist/chunk-7ILGCUI6.js +154 -0
- package/dist/chunk-A2OHX3UQ.js +1156 -0
- package/dist/{chunk-VOKMAAJP.js → chunk-A36CCOWS.js} +188 -19
- package/dist/{chunk-FMSW2HDF.cjs → chunk-ELL2RBML.cjs} +0 -14
- package/dist/{chunk-JD2VQIDZ.cjs → chunk-EWYADREB.cjs} +2 -2
- package/dist/{chunk-HWJZVOG7.js → chunk-FQSJI5NV.js} +1 -1
- package/dist/{chunk-ABFZWYHT.js → chunk-FWBRQWRX.js} +156 -48
- package/dist/{chunk-PZCVF76Q.cjs → chunk-I47EENR4.cjs} +209 -40
- package/dist/chunk-J3PYFGKA.cjs +166 -0
- package/dist/{chunk-C5OLWZ42.js → chunk-KXJDRQ6G.js} +1 -13
- package/dist/chunk-M272AHEX.js +25 -0
- package/dist/{chunk-VRHHBPT6.js → chunk-MJ5TGYVG.js} +333 -65
- package/dist/{chunk-SAOBPYYJ.cjs → chunk-NXFBVDOI.cjs} +3 -3
- package/dist/{chunk-XKJA7KX3.js → chunk-OIX4O6UR.js} +38 -2
- package/dist/{chunk-FEW3JBYA.cjs → chunk-OKX3FYIM.cjs} +3 -3
- package/dist/{chunk-M4BBAERY.cjs → chunk-OMY3CKUZ.cjs} +404 -136
- package/dist/chunk-PWIUEWC3.js +81 -0
- package/dist/chunk-Q4MWQNJK.cjs +28 -0
- package/dist/{chunk-P6TA5EZT.cjs → chunk-RUQIMTN5.cjs} +171 -57
- package/dist/{chunk-IISBRUWJ.js → chunk-WXXNCHUY.js} +1 -1
- package/dist/chunk-YHBVMOMK.cjs +87 -0
- package/dist/codegen/index.d.cts +2 -2
- package/dist/codegen/index.d.ts +2 -2
- package/dist/collect-BTHjQaSp.d.ts +86 -0
- package/dist/collect-CSyOg5XC.d.cts +86 -0
- package/dist/{file-BOoHZgoQ.d.cts → file-cgL9l9l8.d.cts} +765 -14
- package/dist/{file-yuPCFU5b.d.ts → file-olQudcx5.d.ts} +765 -14
- package/dist/history/index.cjs +198 -86
- package/dist/history/index.d.cts +49 -10
- package/dist/history/index.d.ts +49 -10
- package/dist/history/index.js +49 -4
- package/dist/index.cjs +64 -51
- package/dist/index.d.cts +9 -53
- package/dist/index.d.ts +9 -53
- package/dist/index.js +5 -4
- package/dist/ir/index.cjs +24 -3
- package/dist/ir/index.d.cts +43 -4
- package/dist/ir/index.d.ts +43 -4
- package/dist/ir/index.js +24 -3
- package/dist/{lower-BzmUz0sq.d.cts → lower-3S6PsqjJ.d.cts} +40 -6
- package/dist/{lower-_-iT4HYs.d.ts → lower-DmZpQ8hJ.d.ts} +40 -6
- package/dist/{manifest-C8N6HDYl.d.ts → manifest-BJjrQt77.d.ts} +1 -1
- package/dist/{manifest-0OLw0i7k.d.cts → manifest-gRI2Q5Fj.d.cts} +1 -1
- package/dist/node-evaluator-SOADN23V.js +14 -0
- package/dist/node-evaluator-YGDEXK4U.cjs +24 -0
- package/dist/quickjs/index.cjs +25 -24
- package/dist/quickjs/index.d.cts +6 -6
- package/dist/quickjs/index.d.ts +6 -6
- package/dist/quickjs/index.js +8 -7
- package/dist/roundtrip/index.cjs +245 -43
- package/dist/roundtrip/index.d.cts +86 -9
- package/dist/roundtrip/index.d.ts +86 -9
- package/dist/roundtrip/index.js +172 -8
- package/dist/runtime/index.cjs +21 -20
- package/dist/runtime/index.d.cts +49 -7
- package/dist/runtime/index.d.ts +49 -7
- package/dist/runtime/index.js +8 -7
- package/dist/testing/index.cjs +514 -74
- package/dist/testing/index.d.cts +127 -10
- package/dist/testing/index.d.ts +127 -10
- package/dist/testing/index.js +480 -42
- package/dist/{types-BGoPzgcl.d.ts → types-Bb2wRnJ5.d.cts} +20 -1
- package/dist/{types-BGoPzgcl.d.cts → types-Bb2wRnJ5.d.ts} +20 -1
- package/dist/{types-DV-HX_Gt.d.ts → types-CQKOhPTa.d.cts} +122 -14
- package/dist/{types-CpBBjaGX.d.cts → types-CnIOinoz.d.ts} +122 -14
- package/dist/{workflow-Bpr3vnA_.d.ts → workflow-8uRU9rhL.d.ts} +2 -2
- package/dist/{workflow-FXUkpIBc.d.cts → workflow-CZOXUlQ5.d.cts} +2 -2
- package/dist/{workflow-C2a05WUJ.d.ts → workflow-DWTPHFbt.d.ts} +124 -12
- package/dist/{workflow-J-yYixny.d.cts → workflow-O6e64ZcG.d.cts} +124 -12
- package/fixtures/histories/auto-upgrade-patched.history.json +276 -0
- package/fixtures/histories/benign-failure.history.json +146 -0
- package/fixtures/histories/cancel-activity-try-cancel.history.json +150 -0
- package/fixtures/histories/child-cancel-wait-requested.history.json +217 -0
- package/fixtures/histories/child-options-roundtrip.history.json +192 -0
- package/fixtures/histories/continue-as-new-last-result.history.json +86 -0
- package/fixtures/histories/continue-as-new-options.history.json +99 -0
- package/fixtures/histories/continue-as-new-r1-long-task-queue.history.json +78 -0
- package/fixtures/histories/continue-as-new-r1-retry-options.history.json +83 -0
- package/fixtures/histories/execution-timeout-chain.history.json +98 -0
- package/fixtures/histories/external-cancel-resolved.history.json +123 -0
- package/fixtures/histories/external-cancel-unknown-target.history.json +127 -0
- package/fixtures/histories/failure-error-types-fails-run.history.json +144 -0
- package/fixtures/histories/handler-drain-warn.history.json +222 -0
- package/fixtures/histories/heartbeat-details-on-retry.history.json +145 -0
- package/fixtures/histories/local-activity-abandoned-at-completion.history.json +73 -0
- package/fixtures/histories/local-activity-cancelled-in-scope.history.json +118 -0
- package/fixtures/histories/local-activity-completed.history.json +157 -0
- package/fixtures/histories/local-activity-failed.history.json +93 -0
- package/fixtures/histories/local-activity-retry-in-task.history.json +88 -0
- package/fixtures/histories/run-retry-last-failure.history.json +90 -0
- package/fixtures/histories/run-timeout.history.json +159 -0
- package/fixtures/histories/schedule-to-start-timeout.history.json +132 -0
- package/fixtures/histories/start-delay-signal-ends-delay.history.json +155 -0
- package/fixtures/histories/typeerror-task-retry-100.history.json +137 -0
- package/package.json +1 -1
- package/schema/history-file.schema.json +283 -2
- package/schema/ir-v2.schema.json +45 -0
- package/schema/run-event.schema.json +264 -2
- package/schema/workflow-command.schema.json +178 -1
- package/schema/workflow-task.schema.json +392 -4
- package/dist/assemble-BLqQ8lSu.d.cts +0 -39
- package/dist/assemble-DWgaXHd-.d.ts +0 -39
- package/dist/chunk-2J6TF7YI.cjs +0 -86
- package/dist/chunk-BO6OVILK.js +0 -79
- package/dist/chunk-DHTLALBL.cjs +0 -80
- package/dist/chunk-I5LR3D2K.js +0 -869
- package/dist/chunk-N23SKIG4.js +0 -73
- package/dist/chunk-QQ6ULXHI.cjs +0 -885
- package/dist/node-evaluator-4MSDKWOG.cjs +0 -22
- package/dist/node-evaluator-SX4LEYQC.js +0 -12
package/dist/runtime/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as WorkflowContext, h as DurableWorkflow, C as CancellationScope, O as Operation, R as RunOptions, j as Duration,
|
|
2
|
-
export { A as Activation, s as splitActivations } from '../activation-
|
|
3
|
-
import { W as WorkflowCommand,
|
|
4
|
-
import {
|
|
1
|
+
import { W as WorkflowContext, h as DurableWorkflow, C as CancellationScope, O as Operation, R as RunOptions, l as LocalActivityOptions, j as Duration, n as SignalDefinition, o as SignalHandlerOptions, k as ExternalRunTarget, E as ExternalRunHandle, e as ChildTarget, d as ChildOptions, c as ChildHandle, f as ContinueAsNewOptions, b as CancellationScopeOptions } from '../workflow-O6e64ZcG.cjs';
|
|
2
|
+
export { A as Activation, s as splitActivations } from '../activation-CESehfYi.cjs';
|
|
3
|
+
import { W as WorkflowCommand, Z as RunEventRecord, aj as WorkflowTaskRequest, ak as WorkflowTaskResult, a as WorkflowTaskFailureCause, $ as RunTarget } from '../types-CQKOhPTa.cjs';
|
|
4
|
+
import { J as Json, a as JsonObject } from '../types-Bb2wRnJ5.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Determinism shims for workflow tasks (C-ABI, spec 04 §4).
|
|
@@ -71,9 +71,10 @@ declare function matchActivation(commands: readonly WorkflowCommand[], recorded:
|
|
|
71
71
|
/**
|
|
72
72
|
* Command ids (C-HIST): one counter per kind, in issue order, so a replay that
|
|
73
73
|
* issues the same commands in the same order derives the same ids, and a
|
|
74
|
-
* reordered await is caught as a mismatch. Patch markers use `patch:<id
|
|
74
|
+
* reordered await is caught as a mismatch. Patch markers use `patch:<id>`;
|
|
75
|
+
* local activities (R2) use `l<n>`.
|
|
75
76
|
*/
|
|
76
|
-
type CommandIdKind = 'a' | 't' | 'c' | 's' | 'x' | 'm';
|
|
77
|
+
type CommandIdKind = 'a' | 't' | 'c' | 's' | 'x' | 'm' | 'l';
|
|
77
78
|
declare class CommandIds {
|
|
78
79
|
private readonly counters;
|
|
79
80
|
/** The next id of a kind: `a1`, `a2`, ... */
|
|
@@ -183,7 +184,16 @@ declare class WorkflowExecution {
|
|
|
183
184
|
private readonly signalHandlers;
|
|
184
185
|
private readonly signalWaiters;
|
|
185
186
|
private defaultSignalHandler;
|
|
187
|
+
private defaultSignalPolicy;
|
|
188
|
+
private readonly signalPolicies;
|
|
186
189
|
private runningHandlers;
|
|
190
|
+
/** Running asynchronous handlers by name, for the drain warning (11 §2.18). */
|
|
191
|
+
private readonly running;
|
|
192
|
+
private unfinished;
|
|
193
|
+
private readonly recordedLocalActivities;
|
|
194
|
+
private readonly localActivityResults;
|
|
195
|
+
private readonly localActivities;
|
|
196
|
+
private memo;
|
|
187
197
|
private conditions;
|
|
188
198
|
private currentDetails;
|
|
189
199
|
readonly context: WorkflowContext;
|
|
@@ -198,10 +208,24 @@ declare class WorkflowExecution {
|
|
|
198
208
|
step(): 'more' | 'done';
|
|
199
209
|
/** The task's result. Call after `step()` returned `done` and jobs were drained. */
|
|
200
210
|
complete(): WorkflowTaskResult;
|
|
211
|
+
/**
|
|
212
|
+
* The local activities the open activation waits for, when the task is a
|
|
213
|
+
* workflow task that has not failed or closed the run (a run that ends
|
|
214
|
+
* abandons a local activity it did not await).
|
|
215
|
+
*/
|
|
216
|
+
private pendingLocalActivityRequests;
|
|
201
217
|
/** Fail the task (the runtime's own failures and code errors). */
|
|
202
218
|
failTask(cause: WorkflowTaskFailureCause, message: string, stackTrace?: string, seq?: number, errorType?: string): void;
|
|
203
219
|
private beginActivation;
|
|
204
220
|
private finishActivation;
|
|
221
|
+
/**
|
|
222
|
+
* A local activity issued on a replayed activation without a recorded
|
|
223
|
+
* outcome is fine only when the first execution dropped it in that same
|
|
224
|
+
* activation: its scope was cancelled (the entry is gone) or the run closed.
|
|
225
|
+
* One still waiting means the first execution would have requested and
|
|
226
|
+
* recorded it, so the code diverged from the history.
|
|
227
|
+
*/
|
|
228
|
+
private checkReplayedLocalActivities;
|
|
205
229
|
private deliver;
|
|
206
230
|
private expectIssued;
|
|
207
231
|
private settleActivity;
|
|
@@ -209,6 +233,12 @@ declare class WorkflowExecution {
|
|
|
209
233
|
private dispatchSignal;
|
|
210
234
|
private takeBuffered;
|
|
211
235
|
private runHandler;
|
|
236
|
+
/**
|
|
237
|
+
* The drain check of 11 §2.18 when the workflow finishes: handlers still
|
|
238
|
+
* running with policy `WARN_AND_ABANDON` give one warning line and
|
|
239
|
+
* `unfinishedHandlers` in the result. A replay never reports them.
|
|
240
|
+
*/
|
|
241
|
+
private checkUnfinishedHandlers;
|
|
212
242
|
private startFunction;
|
|
213
243
|
private onReturn;
|
|
214
244
|
private isFailureType;
|
|
@@ -227,6 +257,15 @@ declare class WorkflowExecution {
|
|
|
227
257
|
private stack;
|
|
228
258
|
private never;
|
|
229
259
|
scheduleActivity<In, Out>(scope: Scope, operation: Operation<In, Out>, options: RunOptions<In>): Promise<Out>;
|
|
260
|
+
/**
|
|
261
|
+
* `ctx.localActivity` (11 §2.12). A replayed activation returns the outcome
|
|
262
|
+
* its history recorded; the open activation takes the outcome the worker
|
|
263
|
+
* passed in `localActivityResults`, or asks for the local activity
|
|
264
|
+
* (`localActivityRequested`) and waits for the same task to run again.
|
|
265
|
+
* Either way the outcome is recorded with `RECORD_LOCAL_ACTIVITY` at the
|
|
266
|
+
* call, so a replay issues the same command at the same position.
|
|
267
|
+
*/
|
|
268
|
+
localActivity<In, Out>(scope: Scope, operation: unknown, options: LocalActivityOptions<In> | undefined): Promise<Out>;
|
|
230
269
|
startTimer(scope: Scope, durationMs: number, summary: string | undefined): Promise<void>;
|
|
231
270
|
/** Start a durable timer; `timerId` is undefined when no timer was needed or issued. */
|
|
232
271
|
private timer;
|
|
@@ -236,8 +275,11 @@ declare class WorkflowExecution {
|
|
|
236
275
|
/** Resolve conditions whose predicate now holds; true when any did. */
|
|
237
276
|
private checkConditions;
|
|
238
277
|
signalReceived<P>(scope: Scope, signal: SignalDefinition<P> | string): Promise<P>;
|
|
239
|
-
onSignal(signal: SignalDefinition<unknown> | string, handler: (payload: unknown) => unknown): void;
|
|
278
|
+
onSignal(signal: SignalDefinition<unknown> | string, handler: (payload: unknown) => unknown, options?: SignalHandlerOptions): void;
|
|
240
279
|
setDefaultSignalHandler(handler: (name: string, payload: unknown) => unknown): void;
|
|
280
|
+
/** The command target of a run handle (11 §2.1, §2.24). */
|
|
281
|
+
externalTarget(target: ExternalRunTarget): RunTarget;
|
|
282
|
+
runHandle(target: ExternalRunTarget): ExternalRunHandle;
|
|
241
283
|
private childTarget;
|
|
242
284
|
private childCommand;
|
|
243
285
|
private startChildRun;
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as WorkflowContext, h as DurableWorkflow, C as CancellationScope, O as Operation, R as RunOptions, j as Duration,
|
|
2
|
-
export { A as Activation, s as splitActivations } from '../activation-
|
|
3
|
-
import { W as WorkflowCommand,
|
|
4
|
-
import {
|
|
1
|
+
import { W as WorkflowContext, h as DurableWorkflow, C as CancellationScope, O as Operation, R as RunOptions, l as LocalActivityOptions, j as Duration, n as SignalDefinition, o as SignalHandlerOptions, k as ExternalRunTarget, E as ExternalRunHandle, e as ChildTarget, d as ChildOptions, c as ChildHandle, f as ContinueAsNewOptions, b as CancellationScopeOptions } from '../workflow-DWTPHFbt.js';
|
|
2
|
+
export { A as Activation, s as splitActivations } from '../activation-BnVQMv9y.js';
|
|
3
|
+
import { W as WorkflowCommand, Z as RunEventRecord, aj as WorkflowTaskRequest, ak as WorkflowTaskResult, a as WorkflowTaskFailureCause, $ as RunTarget } from '../types-CnIOinoz.js';
|
|
4
|
+
import { J as Json, a as JsonObject } from '../types-Bb2wRnJ5.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Determinism shims for workflow tasks (C-ABI, spec 04 §4).
|
|
@@ -71,9 +71,10 @@ declare function matchActivation(commands: readonly WorkflowCommand[], recorded:
|
|
|
71
71
|
/**
|
|
72
72
|
* Command ids (C-HIST): one counter per kind, in issue order, so a replay that
|
|
73
73
|
* issues the same commands in the same order derives the same ids, and a
|
|
74
|
-
* reordered await is caught as a mismatch. Patch markers use `patch:<id
|
|
74
|
+
* reordered await is caught as a mismatch. Patch markers use `patch:<id>`;
|
|
75
|
+
* local activities (R2) use `l<n>`.
|
|
75
76
|
*/
|
|
76
|
-
type CommandIdKind = 'a' | 't' | 'c' | 's' | 'x' | 'm';
|
|
77
|
+
type CommandIdKind = 'a' | 't' | 'c' | 's' | 'x' | 'm' | 'l';
|
|
77
78
|
declare class CommandIds {
|
|
78
79
|
private readonly counters;
|
|
79
80
|
/** The next id of a kind: `a1`, `a2`, ... */
|
|
@@ -183,7 +184,16 @@ declare class WorkflowExecution {
|
|
|
183
184
|
private readonly signalHandlers;
|
|
184
185
|
private readonly signalWaiters;
|
|
185
186
|
private defaultSignalHandler;
|
|
187
|
+
private defaultSignalPolicy;
|
|
188
|
+
private readonly signalPolicies;
|
|
186
189
|
private runningHandlers;
|
|
190
|
+
/** Running asynchronous handlers by name, for the drain warning (11 §2.18). */
|
|
191
|
+
private readonly running;
|
|
192
|
+
private unfinished;
|
|
193
|
+
private readonly recordedLocalActivities;
|
|
194
|
+
private readonly localActivityResults;
|
|
195
|
+
private readonly localActivities;
|
|
196
|
+
private memo;
|
|
187
197
|
private conditions;
|
|
188
198
|
private currentDetails;
|
|
189
199
|
readonly context: WorkflowContext;
|
|
@@ -198,10 +208,24 @@ declare class WorkflowExecution {
|
|
|
198
208
|
step(): 'more' | 'done';
|
|
199
209
|
/** The task's result. Call after `step()` returned `done` and jobs were drained. */
|
|
200
210
|
complete(): WorkflowTaskResult;
|
|
211
|
+
/**
|
|
212
|
+
* The local activities the open activation waits for, when the task is a
|
|
213
|
+
* workflow task that has not failed or closed the run (a run that ends
|
|
214
|
+
* abandons a local activity it did not await).
|
|
215
|
+
*/
|
|
216
|
+
private pendingLocalActivityRequests;
|
|
201
217
|
/** Fail the task (the runtime's own failures and code errors). */
|
|
202
218
|
failTask(cause: WorkflowTaskFailureCause, message: string, stackTrace?: string, seq?: number, errorType?: string): void;
|
|
203
219
|
private beginActivation;
|
|
204
220
|
private finishActivation;
|
|
221
|
+
/**
|
|
222
|
+
* A local activity issued on a replayed activation without a recorded
|
|
223
|
+
* outcome is fine only when the first execution dropped it in that same
|
|
224
|
+
* activation: its scope was cancelled (the entry is gone) or the run closed.
|
|
225
|
+
* One still waiting means the first execution would have requested and
|
|
226
|
+
* recorded it, so the code diverged from the history.
|
|
227
|
+
*/
|
|
228
|
+
private checkReplayedLocalActivities;
|
|
205
229
|
private deliver;
|
|
206
230
|
private expectIssued;
|
|
207
231
|
private settleActivity;
|
|
@@ -209,6 +233,12 @@ declare class WorkflowExecution {
|
|
|
209
233
|
private dispatchSignal;
|
|
210
234
|
private takeBuffered;
|
|
211
235
|
private runHandler;
|
|
236
|
+
/**
|
|
237
|
+
* The drain check of 11 §2.18 when the workflow finishes: handlers still
|
|
238
|
+
* running with policy `WARN_AND_ABANDON` give one warning line and
|
|
239
|
+
* `unfinishedHandlers` in the result. A replay never reports them.
|
|
240
|
+
*/
|
|
241
|
+
private checkUnfinishedHandlers;
|
|
212
242
|
private startFunction;
|
|
213
243
|
private onReturn;
|
|
214
244
|
private isFailureType;
|
|
@@ -227,6 +257,15 @@ declare class WorkflowExecution {
|
|
|
227
257
|
private stack;
|
|
228
258
|
private never;
|
|
229
259
|
scheduleActivity<In, Out>(scope: Scope, operation: Operation<In, Out>, options: RunOptions<In>): Promise<Out>;
|
|
260
|
+
/**
|
|
261
|
+
* `ctx.localActivity` (11 §2.12). A replayed activation returns the outcome
|
|
262
|
+
* its history recorded; the open activation takes the outcome the worker
|
|
263
|
+
* passed in `localActivityResults`, or asks for the local activity
|
|
264
|
+
* (`localActivityRequested`) and waits for the same task to run again.
|
|
265
|
+
* Either way the outcome is recorded with `RECORD_LOCAL_ACTIVITY` at the
|
|
266
|
+
* call, so a replay issues the same command at the same position.
|
|
267
|
+
*/
|
|
268
|
+
localActivity<In, Out>(scope: Scope, operation: unknown, options: LocalActivityOptions<In> | undefined): Promise<Out>;
|
|
230
269
|
startTimer(scope: Scope, durationMs: number, summary: string | undefined): Promise<void>;
|
|
231
270
|
/** Start a durable timer; `timerId` is undefined when no timer was needed or issued. */
|
|
232
271
|
private timer;
|
|
@@ -236,8 +275,11 @@ declare class WorkflowExecution {
|
|
|
236
275
|
/** Resolve conditions whose predicate now holds; true when any did. */
|
|
237
276
|
private checkConditions;
|
|
238
277
|
signalReceived<P>(scope: Scope, signal: SignalDefinition<P> | string): Promise<P>;
|
|
239
|
-
onSignal(signal: SignalDefinition<unknown> | string, handler: (payload: unknown) => unknown): void;
|
|
278
|
+
onSignal(signal: SignalDefinition<unknown> | string, handler: (payload: unknown) => unknown, options?: SignalHandlerOptions): void;
|
|
240
279
|
setDefaultSignalHandler(handler: (name: string, payload: unknown) => unknown): void;
|
|
280
|
+
/** The command target of a run handle (11 §2.1, §2.24). */
|
|
281
|
+
externalTarget(target: ExternalRunTarget): RunTarget;
|
|
282
|
+
runHandle(target: ExternalRunTarget): ExternalRunHandle;
|
|
241
283
|
private childTarget;
|
|
242
284
|
private childCommand;
|
|
243
285
|
private startChildRun;
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { CommandIds, RUNTIME_GLOBAL, SDK_NAME, WorkflowExecution, buildWorkflowRegistry, createWorkflowRuntime, installWorkflowRuntime, isPatchMarkerId, isRuntimeAbi, matchActivation, mismatch, patchMarkerId } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { CommandIds, RUNTIME_GLOBAL, SDK_NAME, WorkflowExecution, buildWorkflowRegistry, createWorkflowRuntime, installWorkflowRuntime, isPatchMarkerId, isRuntimeAbi, matchActivation, mismatch, patchMarkerId } from '../chunk-MJ5TGYVG.js';
|
|
2
|
+
import '../chunk-KXJDRQ6G.js';
|
|
3
|
+
import '../chunk-M272AHEX.js';
|
|
4
4
|
export { SHIM_HOOK, SHIM_VIOLATION, TASK_PRELUDE, createRandom, seedOf, uuidFrom } from '../chunk-4LYSEANA.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-7ILGCUI6.js';
|
|
6
|
+
import '../chunk-LNUQE6D6.js';
|
|
7
|
+
export { splitActivations } from '../chunk-FWBRQWRX.js';
|
|
8
|
+
import '../chunk-2DDULZFM.js';
|
|
9
|
+
import '../chunk-PWIUEWC3.js';
|