How to load data using [Update Async]

How can i load data using Update Async without Locking Server.

I’m currently building my Own Data Store that might prevent Data loss i know that Update Async can also use to load data and lock an server.

Sampe Code :

	local sucess, err = pcall(function()
		 data = myDataStore:UpdateAsync(key, function(Value)
			return Value 
		end)
	end)]

Issues :

  • It locks an server.

What’s this supposed to mean? if you want to use an efficient data system I suggest you look into DataStore2 or andrew bereza's data module

Its locks an server like it loading too long.

I know that Data Store 2 is an open source however when i use it i got alot reports of data decrease and sometimes data loss i already post about that error but no one reply.

How exactly does it “lock” a server?