Skip to content

Commit bc016f4

Browse files
Apply suggestions from code review
Co-authored-by: Andrew Betts <[email protected]>
1 parent 78e6d92 commit bc016f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

documentation/docs/globals/FetchEvent/FetchEvent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It provides the [`event.respondWith()`](./prototype/respondWith.mdx) method, whi
1212
## Instance properties
1313

1414
- `FetchEvent.request` _**readonly**_
15-
- : The `Request` that was recieved by the application.
15+
- : The `Request` that was received by the application.
1616
- `FetchEvent.client` _**readonly**_
1717
- : Information about the downstream client that made the request.
1818
- `FetchEvent.client.address` _**readonly**_

documentation/docs/globals/FetchEvent/prototype/respondWith.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ respondWith(response)
2222

2323
### Return value
2424

25-
None `undefined`.
25+
Always returns `undefined`.

documentation/docs/globals/FetchEvent/prototype/waitUntil.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ pagination_prev: null
1010
The **`waitUntil()`** method tells the host environment that work is ongoing until the promise settles, and it shouldn't terminate
1111
the application if it wants that work to complete.
1212

13-
The `waitUntil()` method must be initially called within the event callback,
14-
but after that it can be called multiple times, until all the promises passed to it
13+
The `waitUntil()` method must be initially called synchronously within the event callback,
14+
but after that it can be called multiple times, and will hold the process open until all the promises passed to it
1515
settle.
1616

1717
## Syntax

0 commit comments

Comments
 (0)