Commit fb3844b
committed
docs: fix wait.for() idempotency example to use a single options object
wait.for() takes a single WaitForOptions object (WaitPeriod &
CommonWaitOptions), so idempotencyKey/idempotencyKeyTTL must go in the
same object as the duration. The example passed them as a second
argument, which is silently ignored — the idempotency key never applies.
This matches the wait.until() example and the section's own prose. No
behavior change.1 parent 5667461 commit fb3844b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
0 commit comments