chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:32:57 +08:00
commit cd420f9332
4811 changed files with 884702 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
---
title: "Wait: Overview"
sidebarTitle: "Overview"
description: "During your run you can wait for a period of time or for something to happen."
---
import PausedExecutionFree from "/snippets/paused-execution-free.mdx";
Waiting allows you to write complex tasks as a set of async code, without having to schedule another task or poll for changes.
<PausedExecutionFree />
| Function | What it does |
| :------------------------------------------------ | :--------------------------------------------------------------- |
| [wait.for()](/wait-for) | Waits for a specific period of time, e.g. 1 day. |
| [wait.until()](/wait-until) | Waits until the provided `Date`. |
| [wait.forToken()](/wait-for-token) | Pauses runs until a token is completed. |
| [inputStream.wait()](/tasks/streams#wait--suspend-until-data-arrives) | Pauses runs until data arrives on an input stream. |