Skip to content

Commit a00cae4

Browse files
committed
fix: Fix documentation.
1 parent 4fad0b4 commit a00cae4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ for await (const row of client.runEventQlQuery(`
201201
}
202202
```
203203

204+
*Note that each row returned by the iterator matches the projection specified in your query.*
205+
204206
#### Aborting a Query
205207

206208
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.
@@ -222,8 +224,6 @@ for await (const row of client.runEventQlQuery(`
222224
controller.abort();
223225
```
224226

225-
*Note that each row returned by the iterator matches the projection specified in your query.*
226-
227227
### Observing Events
228228

229229
To observe all events of a subject, call the `observeEvents` function with the subject as the first argument and an options object as the second argument. Set the `recursive` option to `false`. This ensures that only events of the given subject are returned, not events of nested subjects.

0 commit comments

Comments
 (0)