eventsourcingdb 0.12.6 → 0.12.8
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.
- package/README.md +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ This client SDK includes support for [Testcontainers](https://testcontainers.com
|
|
|
10
10
|
|
|
11
11
|
## Getting Started
|
|
12
12
|
|
|
13
|
+
Install the client SDK:
|
|
14
|
+
|
|
15
|
+
```shell
|
|
16
|
+
npm install eventsourcingdb
|
|
17
|
+
```
|
|
18
|
+
|
|
13
19
|
Import the `Client` class and create an instance by providing the URL of your EventSourcingDB instance and the API token to use:
|
|
14
20
|
|
|
15
21
|
```typescript
|
|
@@ -220,7 +226,7 @@ for await (const row of client.runEventQlQuery(`
|
|
|
220
226
|
}
|
|
221
227
|
|
|
222
228
|
// Somewhere else, abort the controller, which will cause
|
|
223
|
-
//
|
|
229
|
+
// the query to end.
|
|
224
230
|
controller.abort();
|
|
225
231
|
```
|
|
226
232
|
|