@iworkflow/core 0.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iworkflow/core",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Engine-neutral durable workflow port: flows, steps, child workflows, signals, queries, patches, heartbeat",
5
5
  "keywords": [
6
6
  "workflow",
package/src/types.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  export type Activity = (...args: any[]) => Promise<unknown>;
5
5
 
6
6
  export interface StepOptions {
7
- /** Попыток всего, включая первую. По умолчанию 3. */
7
+ /** Попыток всего, включая первую. По умолчанию 3; Infinity — до totalTimeoutMs или срока процесса. */
8
8
  attempts?: number;
9
9
  /** Предел одной попытки. По умолчанию 60 с. DBOS не ограничивает: шаг повторяется после рестарта. */
10
10
  timeoutMs?: number;