Skip to content

Commit e672f80

Browse files
committed
comment
1 parent a19b9a6 commit e672f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ovr/src/jsx/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ export async function* toGenerator(
162162
yield* toGenerator(result.value);
163163

164164
if (performance.now() > deadline) {
165-
// yields back to the event loop to send chunks
166-
// or check if the request has been cancelled
165+
// yields back to the event loop if deadline is reached
166+
// to send chunks or check if the request has been cancelled
167167
await setImmediate();
168168
deadline = performance.now() + ms;
169169
}

0 commit comments

Comments
 (0)