Skip to content

Commit

Permalink
Merge pull request #459 from Danielle9897/RDBC-870-explainStoreDispos…
Browse files Browse the repository at this point in the history
…eInReadme

RDBC-870 Add explanation of session & store dispose to the readme
  • Loading branch information
ml054 committed Sep 2, 2024
2 parents 9e4f9a8 + d23e719 commit 2b3e87a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ session
});
```

5. When you have finished using the session and the document store objects,
make sure to dispose of them properly to free up resources:
```javascript
session.dispose();
store.dispose();
```

## Supported asynchronous call types

Most methods on the session object are asynchronous and return a Promise.
Expand Down

0 comments on commit 2b3e87a

Please sign in to comment.