Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can some one explain to me what does "Write Requests (same key)" mean in DataStore?

Asked by 5 years ago

I would also appreciate it if you can explain this line to me that was from the roblox wiki "Write Requests (same key) Repeated SetAsync, IncrementAsync, UpdateAsync, RemoveAsync on same key 6 second between writes"

0
Each value in a data store can be saved as a key, it sounds like you trying to save to the same key, but they need to be unique. Also if you’re using SetAsync, it rewrites what was there. Using UpdateAsync is preferred as it takes into account the former value before making changes. ABK2017 406 — 5y
0
Also UpdateAsync can’t yield the function passed to it ie - - can’t (wait) ABK2017 406 — 5y

Answer this question