docs: note retry.onThrow as a parallel wait (#3248)

This commit is contained in:
Iss
2026-04-14 10:09:16 -04:00
committed by GitHub
parent c37bb9abc8
commit 57a634ea50
+1
View File
@@ -173,6 +173,7 @@ Waits include:
- `wait.until()`
- `task.triggerAndWait()`
- `task.batchTriggerAndWait()`
- `retry.onThrow()`
- And any of our functions with `wait` in the name.
This restriction exists because we suspend the task server after a wait, and resume it when the wait is done. At the moment, if you do more than one wait, the run will never continue when deployed, so we throw this error instead.