You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,7 @@ for await (const event of client.readEvents('/books/42', {
170
170
171
171
#### Aborting Reading
172
172
173
-
If you need to abort reading use `break` or `return` within the `await for` loop. However, this only works if there is currently an iteration going on.
173
+
If you need to abort reading use `break` or `return` within the `for await` loop. However, this only works if there is currently an iteration going on.
174
174
175
175
To abort reading independently of that, hand over an abort signal as third argument when calling `readEvents`, and abort the appropriate `AbortController`:
176
176
@@ -205,7 +205,7 @@ for await (const row of client.runEventQlQuery(`
205
205
206
206
#### Aborting a Query
207
207
208
-
If you need to abort a query use `break` or `return` within the `await for` loop. However, this only works if there is currently an iteration going on.
208
+
If you need to abort a query use `break` or `return` within the `for await` loop. However, this only works if there is currently an iteration going on.
209
209
210
210
To abort the query independently of that, hand over an abort signal as second argument when calling `runEventQlQuery`, and abort the appropriate AbortController:
211
211
@@ -290,7 +290,7 @@ for await (const event of client.observeEvents('/books/42', {
290
290
291
291
#### Aborting Observing
292
292
293
-
If you need to abort observing use `break` or `return` within the `await for` loop. However, this only works if there is currently an iteration going on.
293
+
If you need to abort observing use `break` or `return` within the `for await` loop. However, this only works if there is currently an iteration going on.
294
294
295
295
To abort observing independently of that, hand over an abort signal as third argument when calling `observeEvents`, and abort the appropriate `AbortController`:
296
296
@@ -349,7 +349,7 @@ for await (const subject of client.readSubjects('/books')) {
349
349
350
350
#### Aborting Listing
351
351
352
-
If you need to abort listing use `break` or `return` within the `await for` loop. However, this only works if there is currently an iteration going on.
352
+
If you need to abort listing use `break` or `return` within the `for await` loop. However, this only works if there is currently an iteration going on.
353
353
354
354
To abort listing independently of that, hand over an abort signal as second argument when calling `readSubjects`, and abort the appropriate `AbortController`:
355
355
@@ -379,7 +379,7 @@ for await (const eventType of client.readEventTypes()) {
379
379
380
380
#### Aborting Listing
381
381
382
-
If you need to abort listing use `break` or `return` within the `await for` loop. However, this only works if there is currently an iteration going on.
382
+
If you need to abort listing use `break` or `return` within the `for await` loop. However, this only works if there is currently an iteration going on.
383
383
384
384
To abort listing independently of that, hand over an abort signal as argument when calling `readEventTypes`, and abort the appropriate `AbortController`:
0 commit comments