Jelena Lecic
1 min readSep 25, 2020

--

Hey,

Thanks for the response :)

When to use async? When you want to define async method.

When to use await? When you need to wait for the method to finish and then proceed with your code execution.

When to use then? When you want to process future after it was successfully finished in an async way - program will continue execution after this async method was called.

When to use Future? When you want to get a result from an async function.

All of those is already stated in the article.

--

--

No responses yet