ravendb
Version:
RavenDB client for Node.js
11 lines • 410 B
JavaScript
import { randomUUID } from "node:crypto";
export class RaftIdGenerator {
static newId() {
return randomUUID();
}
// if the don't care id is used it may cause that on retry/resend of the command we will end up in double applying of the command (once for the original request and for the retry).
static dontCareId() {
return "";
}
}
//# sourceMappingURL=RaftIdGenerator.js.map