We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc
{ startTime: 1 }
when A and B both submit op with replaceOp(['startTime'], 2) and replaceOp(['startTime'], 3) will conflict and throw error.
replaceOp(['startTime'], 2)
replaceOp(['startTime'], 3)
but can we add extra infomation to resolve this problem ? example we add a 'timestamp' or random number
op object
['startTime', { r: 2, weight: Date.now() }] ['startTime', { r: 3, weight: Date.now() }]
This can keeps the two operations consistent。we only simple compare weight to compose two operation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
doc
when A and B both submit op with
replaceOp(['startTime'], 2)
andreplaceOp(['startTime'], 3)
will conflict and throw error.but can we add extra infomation to resolve this problem ? example we add a 'timestamp' or random number
op object
This can keeps the two operations consistent。we only simple compare weight to compose two operation.
The text was updated successfully, but these errors were encountered: