Commit 16a7749
committed
fix(sdk): mirror skipSuspend WaitpointTimeoutError on session.in waits
The session.in version of waitWithIdleTimeout had the same shape
inconsistency as the input-stream version (fixed on se): the
skipSuspend branch returned { ok: false, error: undefined } instead
of a real WaitpointTimeoutError. Now matches the cold-phase wait()
result shape so callers can rely on a uniform { error: WaitpointTimeoutError }
on every !ok path.1 parent 2f21cd3 commit 16a7749
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
680 | 683 | | |
681 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
682 | 690 | | |
683 | 691 | | |
684 | 692 | | |
| |||
0 commit comments