<@U5375UUJ2> the theory behind promises, callback ...
# suitescript
f
@stalbert the theory behind promises, callback and async await for that matter is that yes you are right its still a single thread. But when looking into CPU time spend most of the time is used for waiting for external resources (harddrive, database, network). So with the Async pattern in general the JS engine can execute other code until that external resources get pack to the requester. Thats why async code is way faster then sync code if done proberly