observed-js 0.1.0 → 0.3.0
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 +86 -562
- package/dist/actions/index.d.ts +201 -1
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +1002 -86
- package/dist/actions/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/scheduler/index.d.ts +74 -2
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/scheduler/index.js +198 -5
- package/dist/scheduler/index.js.map +1 -1
- package/package.json +6 -3
package/dist/actions/index.d.ts
CHANGED
|
@@ -2,6 +2,38 @@ export type ActionEvent<I> = {
|
|
|
2
2
|
requestId: string;
|
|
3
3
|
payload: I;
|
|
4
4
|
};
|
|
5
|
+
export type Priority = 'low' | 'normal' | 'high' | 'critical' | number;
|
|
6
|
+
export interface InvokeOptions {
|
|
7
|
+
/** Override action default priority */
|
|
8
|
+
priority?: Priority;
|
|
9
|
+
/** Custom metadata for observability */
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
export interface ContextWarning {
|
|
13
|
+
type: 'attachment-size' | 'depth';
|
|
14
|
+
message: string;
|
|
15
|
+
actionId: string;
|
|
16
|
+
traceId: string;
|
|
17
|
+
currentSize?: number;
|
|
18
|
+
threshold: number;
|
|
19
|
+
depth: number;
|
|
20
|
+
}
|
|
21
|
+
export interface ContextWarningOptions {
|
|
22
|
+
/** Max total attachment size in bytes before warning */
|
|
23
|
+
maxAttachmentBytes?: number;
|
|
24
|
+
/** Max nesting depth before warning */
|
|
25
|
+
maxDepth?: number;
|
|
26
|
+
/** Custom warning handler (default: console.warn) */
|
|
27
|
+
onWarning?: (warning: ContextWarning) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare const setContextWarningThreshold: (options?: ContextWarningOptions) => void;
|
|
30
|
+
export interface ParentContext {
|
|
31
|
+
readonly actionId: string;
|
|
32
|
+
readonly attachments: Readonly<Record<string, unknown>>;
|
|
33
|
+
readonly traceId: string;
|
|
34
|
+
readonly depth: number;
|
|
35
|
+
readonly parent: ParentContext | undefined;
|
|
36
|
+
}
|
|
5
37
|
/**
|
|
6
38
|
* Retry configuration options
|
|
7
39
|
*/
|
|
@@ -19,18 +51,64 @@ export interface RetryOptions {
|
|
|
19
51
|
/** Predicate to determine if an error is retryable (default: all errors are retryable) */
|
|
20
52
|
shouldRetry?: (error: unknown) => boolean;
|
|
21
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Timeout configuration options
|
|
56
|
+
*/
|
|
57
|
+
export interface TimeoutOptions {
|
|
58
|
+
/** Timeout duration in milliseconds */
|
|
59
|
+
duration: number;
|
|
60
|
+
/** Whether to throw TimeoutError on timeout (default: true) */
|
|
61
|
+
throwOnTimeout?: boolean;
|
|
62
|
+
/** Whether to provide AbortSignal to handler (default: false) */
|
|
63
|
+
abortSignal?: boolean;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Error thrown when an operation times out
|
|
67
|
+
*/
|
|
68
|
+
export declare class TimeoutError extends Error {
|
|
69
|
+
name: string;
|
|
70
|
+
duration: number;
|
|
71
|
+
constructor(duration: number);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Error thrown when an operation is cancelled
|
|
75
|
+
*/
|
|
76
|
+
export declare class CancellationError extends Error {
|
|
77
|
+
name: string;
|
|
78
|
+
reason?: string;
|
|
79
|
+
state: 'queued' | 'running' | 'retry-delay';
|
|
80
|
+
constructor(reason?: string, state?: 'queued' | 'running' | 'retry-delay');
|
|
81
|
+
}
|
|
22
82
|
/**
|
|
23
83
|
* Context object passed to handlers for attaching data
|
|
24
84
|
*/
|
|
25
85
|
export interface InvocationContext {
|
|
26
86
|
/** Unique identifier for this invocation */
|
|
27
87
|
readonly actionId: string;
|
|
88
|
+
/** Trace ID for the invocation tree */
|
|
89
|
+
readonly traceId: string;
|
|
90
|
+
/** Depth in call tree (0 = root) */
|
|
91
|
+
readonly depth: number;
|
|
92
|
+
/** Parent context chain (if nested invocation) */
|
|
93
|
+
readonly parent: ParentContext | undefined;
|
|
28
94
|
/**
|
|
29
95
|
* Attach data to this invocation's wide event
|
|
30
96
|
* Supports both primitives and objects (objects are deep-merged)
|
|
31
97
|
*/
|
|
32
98
|
attach(key: string, value: unknown): void;
|
|
33
99
|
attach(data: Record<string, unknown>): void;
|
|
100
|
+
/**
|
|
101
|
+
* Set total number of progress steps/items
|
|
102
|
+
*/
|
|
103
|
+
setTotal(total: number): void;
|
|
104
|
+
/**
|
|
105
|
+
* Report progress with specific completed count
|
|
106
|
+
*/
|
|
107
|
+
reportProgress(completed: number, current?: string): void;
|
|
108
|
+
/**
|
|
109
|
+
* Increment progress by 1
|
|
110
|
+
*/
|
|
111
|
+
incrementProgress(current?: string): void;
|
|
34
112
|
}
|
|
35
113
|
/**
|
|
36
114
|
* Complete wide event record after invocation completes
|
|
@@ -46,12 +124,32 @@ export interface WideEvent<I extends any[], O> {
|
|
|
46
124
|
duration: number;
|
|
47
125
|
/** Input arguments */
|
|
48
126
|
input: I;
|
|
127
|
+
/** Resolved priority (0-100). Higher executes first. */
|
|
128
|
+
priority: number;
|
|
129
|
+
/** Custom metadata provided at invoke-time */
|
|
130
|
+
metadata?: Record<string, unknown>;
|
|
49
131
|
/** Output value (if successful) */
|
|
50
132
|
output?: O;
|
|
51
133
|
/** Error (if failed) */
|
|
52
134
|
error?: Error;
|
|
53
135
|
/** User-attached data */
|
|
54
136
|
attachments: Record<string, unknown>;
|
|
137
|
+
/** Trace ID for the invocation tree */
|
|
138
|
+
traceId?: string;
|
|
139
|
+
/** Parent action ID (undefined if root invocation) */
|
|
140
|
+
parentActionId?: string;
|
|
141
|
+
/** Depth in call tree (0 = root) */
|
|
142
|
+
depth?: number;
|
|
143
|
+
/** Child action IDs invoked during this execution */
|
|
144
|
+
childActionIds?: string[];
|
|
145
|
+
/** Full child event objects (nested tree structure) */
|
|
146
|
+
children?: WideEvent<any[], any>[];
|
|
147
|
+
/** Total duration spent in child invocations (ms) */
|
|
148
|
+
childDuration?: number;
|
|
149
|
+
/** Self duration = duration - childDuration */
|
|
150
|
+
selfDuration?: number;
|
|
151
|
+
/** Batch ID for grouping invokeAll/invokeStream items */
|
|
152
|
+
batchId?: string;
|
|
55
153
|
/** Current retry attempt number (0 = original, 1+ = retry) */
|
|
56
154
|
retryAttempt?: number;
|
|
57
155
|
/** Total attempts made (only present on final event) */
|
|
@@ -62,15 +160,62 @@ export interface WideEvent<I extends any[], O> {
|
|
|
62
160
|
isRetry?: boolean;
|
|
63
161
|
/** True if another retry will be attempted after this failure */
|
|
64
162
|
willRetry?: boolean;
|
|
163
|
+
/** Configured timeout duration in milliseconds */
|
|
164
|
+
timeout?: number;
|
|
165
|
+
/** Whether this invocation timed out */
|
|
166
|
+
timedOut?: boolean;
|
|
167
|
+
/** Actual execution time before timeout (may be slightly over timeout due to cleanup) */
|
|
168
|
+
executionTime?: number;
|
|
169
|
+
/** Whether this invocation was cancelled */
|
|
170
|
+
cancelled?: boolean;
|
|
171
|
+
/** Reason provided when task was cancelled */
|
|
172
|
+
cancelReason?: string;
|
|
173
|
+
/** State when task was cancelled */
|
|
174
|
+
cancelledAt?: 'queued' | 'running' | 'retry-delay';
|
|
65
175
|
}
|
|
66
176
|
/**
|
|
67
177
|
* Callback for receiving wide events
|
|
68
178
|
*/
|
|
69
179
|
export type EventCallback<I extends any[], O> = (event: WideEvent<I, O>) => void | Promise<void>;
|
|
180
|
+
/**
|
|
181
|
+
* Progress information for an invocation
|
|
182
|
+
*/
|
|
183
|
+
export interface Progress {
|
|
184
|
+
/** Number of completed steps/items */
|
|
185
|
+
completed: number;
|
|
186
|
+
/** Total number of steps/items */
|
|
187
|
+
total: number;
|
|
188
|
+
/** Completion percentage (0-100) */
|
|
189
|
+
percentage: number;
|
|
190
|
+
/** Description of current step */
|
|
191
|
+
current?: string;
|
|
192
|
+
/** Items per second */
|
|
193
|
+
rate?: number;
|
|
194
|
+
/** Milliseconds remaining (estimated) */
|
|
195
|
+
estimatedTimeRemaining?: number;
|
|
196
|
+
/** Timestamp when started (epoch ms) */
|
|
197
|
+
startTime: number;
|
|
198
|
+
/** Milliseconds since start */
|
|
199
|
+
elapsedTime: number;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Callback for receiving progress updates
|
|
203
|
+
*/
|
|
204
|
+
export type ProgressCallback = (progress: Progress) => void | Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Configuration for progress callback throttling
|
|
207
|
+
*/
|
|
208
|
+
export interface ProgressOptions {
|
|
209
|
+
/** Minimum milliseconds between progress callbacks (default: 100) */
|
|
210
|
+
throttle?: number;
|
|
211
|
+
}
|
|
70
212
|
type ActionResult<O> = {
|
|
71
213
|
actionId: string;
|
|
72
214
|
data: Promise<O>;
|
|
73
215
|
eventLogged: Promise<void>;
|
|
216
|
+
cancel: (reason?: string) => void;
|
|
217
|
+
cancelled: boolean;
|
|
218
|
+
cancelReason: string | undefined;
|
|
74
219
|
};
|
|
75
220
|
type BatchResult<O> = {
|
|
76
221
|
actionId: string;
|
|
@@ -96,6 +241,20 @@ export declare class ActionBuilder<I extends any[], O> {
|
|
|
96
241
|
private usesContext;
|
|
97
242
|
/** Retry configuration */
|
|
98
243
|
private retryOptions?;
|
|
244
|
+
/** Timeout configuration */
|
|
245
|
+
private timeoutConfig?;
|
|
246
|
+
/** Whether this action uses abort signal (set by withAbortSignal wrapper) */
|
|
247
|
+
private usesAbortSignal;
|
|
248
|
+
/** Progress callback for all invocations */
|
|
249
|
+
private progressCallback?;
|
|
250
|
+
/** Progress throttle in milliseconds */
|
|
251
|
+
private progressThrottle;
|
|
252
|
+
/** Track all active invocations for cancelAll support */
|
|
253
|
+
private activeInvocations;
|
|
254
|
+
/** Default priority for all invocations (0-100) */
|
|
255
|
+
private defaultPriority;
|
|
256
|
+
/** Context warning thresholds for this action */
|
|
257
|
+
private contextWarningOptions;
|
|
99
258
|
constructor(handler: (...args: I) => O | Promise<O>);
|
|
100
259
|
/**
|
|
101
260
|
* Set the maximum number of concurrent executions
|
|
@@ -107,16 +266,36 @@ export declare class ActionBuilder<I extends any[], O> {
|
|
|
107
266
|
* @param rateLimit Max executions per second (default: Infinity = no limit)
|
|
108
267
|
*/
|
|
109
268
|
setRateLimit(rateLimit: number): ActionBuilder<I, O>;
|
|
269
|
+
/**
|
|
270
|
+
* Set default priority for all invocations of this action.
|
|
271
|
+
* Higher priority executes first; FIFO ordering preserved within same priority.
|
|
272
|
+
*/
|
|
273
|
+
setPriority(priority: Priority): ActionBuilder<I, O>;
|
|
110
274
|
/**
|
|
111
275
|
* Configure retry behavior for failed executions
|
|
112
276
|
* @param options Retry configuration
|
|
113
277
|
*/
|
|
114
278
|
setRetry(options: RetryOptions): ActionBuilder<I, O>;
|
|
279
|
+
/**
|
|
280
|
+
* Configure timeout for executions
|
|
281
|
+
* @param options Timeout duration in ms or configuration object
|
|
282
|
+
*/
|
|
283
|
+
setTimeout(options: number | TimeoutOptions): ActionBuilder<I, O>;
|
|
115
284
|
/**
|
|
116
285
|
* Register a callback to receive wide events after each invocation
|
|
117
286
|
* @param callback Function to receive wide events
|
|
118
287
|
*/
|
|
119
288
|
onEvent(callback: EventCallback<I, O>): ActionBuilder<I, O>;
|
|
289
|
+
/**
|
|
290
|
+
* Register a callback to receive progress updates
|
|
291
|
+
* @param callback Function to receive progress updates
|
|
292
|
+
* @param options Progress options (throttle)
|
|
293
|
+
*/
|
|
294
|
+
onProgress(callback: ProgressCallback, options?: ProgressOptions): ActionBuilder<I, O>;
|
|
295
|
+
/**
|
|
296
|
+
* Configure context warning thresholds for this action
|
|
297
|
+
*/
|
|
298
|
+
setContextWarningThreshold(options?: ContextWarningOptions): ActionBuilder<I, O>;
|
|
120
299
|
/**
|
|
121
300
|
* Mark this action as using context (internal - called by withContext)
|
|
122
301
|
*/
|
|
@@ -133,19 +312,22 @@ export declare class ActionBuilder<I extends any[], O> {
|
|
|
133
312
|
* Invoke the action with the given payload
|
|
134
313
|
* Returns immediately with actionId and a promise for the result
|
|
135
314
|
*/
|
|
136
|
-
invoke(...payload: I): ActionResult<O>;
|
|
315
|
+
invoke(...payload: [...I]): ActionResult<O>;
|
|
316
|
+
invoke(...payloadAndOptions: [...I, InvokeOptions]): ActionResult<O>;
|
|
137
317
|
/**
|
|
138
318
|
* Batch invoke - Promise.all style
|
|
139
319
|
* Waits for all invocations to complete and returns results in input order
|
|
140
320
|
* Individual failures don't fail the whole batch
|
|
141
321
|
*/
|
|
142
322
|
invokeAll(payloads: I[]): Promise<BatchResult<O>[]>;
|
|
323
|
+
invokeAll(payloads: I[], options?: InvokeOptions): Promise<BatchResult<O>[]>;
|
|
143
324
|
/**
|
|
144
325
|
* Batch invoke - Async iterator style
|
|
145
326
|
* Yields results as they complete (not in input order)
|
|
146
327
|
* Ideal for processing results as soon as they're available
|
|
147
328
|
*/
|
|
148
329
|
invokeStream(payloads: I[]): AsyncGenerator<BatchResult<O>, void, unknown>;
|
|
330
|
+
invokeStream(payloads: I[], options?: InvokeOptions): AsyncGenerator<BatchResult<O>, void, unknown>;
|
|
149
331
|
/**
|
|
150
332
|
* Get current queue length (useful for monitoring/backpressure)
|
|
151
333
|
*/
|
|
@@ -154,6 +336,16 @@ export declare class ActionBuilder<I extends any[], O> {
|
|
|
154
336
|
* Get current active execution count (useful for monitoring)
|
|
155
337
|
*/
|
|
156
338
|
getActiveCount(): number;
|
|
339
|
+
/**
|
|
340
|
+
* Cancel all active invocations of this action
|
|
341
|
+
* @param reasonOrPredicate Reason string or predicate function to filter invocations
|
|
342
|
+
*/
|
|
343
|
+
cancelAll(reasonOrPredicate?: string | ((invocation: ActionResult<O>) => boolean)): number;
|
|
344
|
+
/**
|
|
345
|
+
* Cancel only queued (not running) invocations
|
|
346
|
+
* @param reason Optional cancellation reason
|
|
347
|
+
*/
|
|
348
|
+
clearQueue(reason?: string): number;
|
|
157
349
|
}
|
|
158
350
|
export declare function createAction<T extends (...args: any[]) => any>(handler: T): ActionBuilder<InferInput<T>, InferOutput<T>>;
|
|
159
351
|
/**
|
|
@@ -164,5 +356,13 @@ export declare function withContext<Args extends any[], Output>(handler: (ctx: I
|
|
|
164
356
|
__usesContext: true;
|
|
165
357
|
__originalHandler: typeof handler;
|
|
166
358
|
};
|
|
359
|
+
/**
|
|
360
|
+
* Wrapper function to enable AbortSignal for a handler
|
|
361
|
+
* Returns a modified handler that can be used with createAction
|
|
362
|
+
*/
|
|
363
|
+
export declare function withAbortSignal<Args extends any[], Output>(handler: (signal: AbortSignal, ...args: Args) => Output | Promise<Output>): ((...args: Args) => Output | Promise<Output>) & {
|
|
364
|
+
__usesAbortSignal: true;
|
|
365
|
+
__originalHandler: typeof handler;
|
|
366
|
+
};
|
|
167
367
|
export {};
|
|
168
368
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,CAAC,CAAC;CACd,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAEvE,MAAM,WAAW,aAAa;IAC1B,uCAAuC;IACvC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ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