We want use Conditional writes to update some shared data. we try write use condition write, if write fail with reject by version, we will read newest data from storage,and calcute new data base last read data ,and try write again, until success. can give a sample code to do this
@oldding there’s a conditional write example in our project template.
It’s not exactly what you want but it should be close enough to derive what you’re looking for. If you browse the code, you’ll see that the example is provided in Go, Lua and TS as well.
Best.