Skip to content

How to work with asynchronous events? #9

Open
@SimonLab

Description

@SimonLab

We can use async, await keywords and the class Future to manage asynchronous operation.
For example when retrieving data from an API the returned values might take a bit of time depending on the API server, network status...

  • Read https://dart.dev/codelabs/async-await and summarise how to manage asynchronous events
  • The keyword then is also sometimes used with asynchronous function, what is the difference with async/await and then

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions