Why we use async and await in Dart?

async keyword tells dart that this function might use asynchronous logic . So void main has the async keyword. await keyword tells dart that the following statement will return a Future . The Future should be completed and then the code below will be executed.

Sizin İçin Seçtik  Try-Catch C# nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *