Skip to content

Commit 574b958

Browse files
committed
Refine scheduled waitUntil note
1 parent 66b597a commit 574b958

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/content/docs/workers/runtime-apis/handlers/scheduled.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,9 @@ When a Workers script is invoked by a [Cron Trigger](/workers/configuration/cron
157157

158158
:::note
159159

160-
In module Workers, the runtime waits for the promise returned by the
161-
`scheduled()` handler to resolve (up to the 15-minute duration limit). You do
162-
not need to use `waitUntil()` for the runtime to wait for a single asynchronous
163-
task.
160+
The runtime waits for the promise returned by the `scheduled()` handler to
161+
resolve (up to the 15-minute duration limit). You do not need to use
162+
`waitUntil()` for the runtime to wait for a single asynchronous task.
164163
`waitUntil()` is most useful when you need to run multiple concurrent tasks, or
165164
when you want the outcome of a specific promise to be recorded as the Cron
166165
Trigger invocation status.

0 commit comments

Comments
 (0)