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

Need help describing what an async is, not sure what it is?

Asked by 4 years ago
Edited 4 years ago

Every time I look at certain tutorials I come across stuff like :GetAsync or :PostAsync etc. Then it makes me wonder, what is (an) Async? I understand the code they write, but it's only that thing that I don't know about.

I hope someone can tell me what it is!

1 answer

Log in to vote
1
Answered by
pidgey 548 Moderation Voter
4 years ago

Async stands for Asynchronous - it means that a process operates independently of other processes, whereas synchronous operation means that the process runs only as a result of some other process being completed or handing off operation. Source For example, if something is asynchronous, you don't need to wait for it to finish before you move on to the next instruction. If something is synchronous, you need to wait for the instruction to complete before moving on to the next instruction. An example of asynchronization in Lua is coroutines

Ad

Answer this question