what is difference between async and sync code example
Example: async vs sync
synchronous (sync) - you can only execute one thing at a time
asynchronous (async) - you can execute multiple things at the same time
synchronous (sync) - you can only execute one thing at a time
asynchronous (async) - you can execute multiple things at the same time