mersion
Retry Mongoose saves that suffer from conflicts via VersionErrors
const mongoose = const Mersion = const Book = mongoose async { const mersion = Book { // mutating array has the possibility of causing a VersionError booktags = 'fiction' return book } retries: 2 // Calls `loadFn`, followed by `saveFn()`. // If a VersionError occurs, will retry `retries` times const savedBook = await mersion}