eventsourcingdb 0.12.4 → 0.12.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -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`:
385
385
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eventsourcingdb",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "description": "The official JavaScript client SDK for EventSourcingDB.",
5
5
  "author": {
6
6
  "name": "the native web GmbH",