Skip to content
0:00 / 0:00

#dart#futures#streams

Asynchronous Structures in the Dart Programming Language - Dart Tutorial Part 1

Tensor Programming

50K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Linked in the descriptiontensor-programming/Dart_async_tutorial
  • May be out of date. Uploaded 8 years ago, in an area where tools change fast.

Beginner. No background in the topic needed.

18K views8 years ago2 recommendations

Programming languagesMobile developmentConcurrency and parallelism

An introduction to asynchronous programming in Dart, covering futures, streams, and isolates.

In this tutorial, we take a look at futures, streams and some of the other structures that are used for Asynchronous programming in Dart. Source Code: github.com/tensor-programming/Dart_async_tutorial Feel free to donate: Patreon: patreon.com/tensor_programming ETH: 0x03247265dd5242605bD2FA3c40fb3b70d9e3D685

Why it's here

2 people recommend this

What people say. Recommended as a helpful guide to understanding Dart's single-threaded event loop, futures, and streams.

u/Purple_Pizzazzin r/FlutterDev • Recommends

Asynchronous Structures in the Dart Programming Language - Dart Tutorial Part 1

u/Cholojuanitoin r/FlutterDev • Recommends

On “How to have large async tasks run in the background while the app is running”

Dart is a single threaded language. Just like JavaScript, so there is no notion of background threads/processes. But they have `Future`s for single-event asynchronous operations and `Stream`s for multi-event asynchronous operations. You will need to read up on the `async` and `await` keywords if you are not familiar with them. As after as program architecture goes the Google team loves the BLoC pattern so I recommend looking that up. Suggested reading/videos: Dart docs tutorial on asynchronous programming in Dart Flutter docs on Future class Flutter docs on Stream class YouTube video by Dart creators YouTube video by TensorProgramming Both the following are by same author: BLoC…