Skip to content

Commit

Permalink
Expose Config::cancel_waits_on_nonfatal_error publicly (#5494)
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Geisshirt <kenneth.geisshirt@mongodb.com>
  • Loading branch information
papafe and kneth committed Mar 1, 2023
1 parent 74f5e2e commit 899cac3
Show file tree
Hide file tree
Showing 6 changed files with 1,175 additions and 1,089 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## vNext (TBD)

### Enhancements
* Added configuration option `SyncConfiguration.cancelWaitsOnNonFatalError`. Set to true, all async operations (such as opening the Realm with `Realm.open`) will fail when a non-fatal error, such as a timeout, occurs.
* Added an overload to `Object.linkingObjects` method that takes type of the linking object as an input instead of its string name ([#5326](https://github.com/realm/realm-js/issues/5326))
Example usage:
```typescript
Expand Down

0 comments on commit 899cac3

Please sign in to comment.