Asynchronous Programming in Dart - Learn About Future, Stream and StreamController in Dart
Vložit
- čas přidán 27. 07. 2024
- This video is part of the Dart Crash Course playlist on CZcams. See the entire playlist here: • Dart Crash Course
Welcome to Dart Crash Course. Dart is a beautiful and modern programming language that can be used both for frontend and backend applications. In this course, we will focus on Dart as a programming language without blending in any other frameworks such as Flutter.
In this video we will have a look at asynchronous programming in Dart!
Timestamps:
00:00:00 - Intro
00:02:24 - Future
00:13:44 - Future Error Handling
00:18:30 - Future Chaining
00:24:37 - Stream
00:31:38 - Stream.asyncExpand
00:37:33 - Stream.reduce
00:40:39 - Asynchronous Generators
00:45:26 - Yielding Streams
00:48:21 - Stream Controllers
00:50:58 - Stream Transformers
00:56:48 - Stream.toList
00:58:32 - Absorbing Stream Errors
01:04:14 - Stream.asyncMap and Fold
01:08:44 - Another Example of Stream.asynExpand
01:11:12 - Broadcast Streams
01:17:32 - Stream Timeout Example
Join the discord group if you have any questions: / discord
The GitHub repository for this course can be found here: github.com/vandadnp/youtube-c...
Join my CZcams channel to support me: / vandadnp
Also please follow me on Twitter and LinkedIn to stay up to date:
/ vandadnp
/ vandadnp - Věda a technologie
Thank you so much, you're creating a paradigm shift in teaching programming languages online. Perfect tone, rythym and pace. You truly have a gift and it's nice you're putting it to good use. You're one of the few who are blessed with this gift but what you choose to do with it is solely yours, and thanks for this choice.
I get so excited when I see a new video of yours on a topic that I find difficult because I'm sure it will become a piece of cake ❤
unstoppable 👏
Indeed 😊
I just opened CZcams to see your video. And it's on top of the list. And I just need to tell you. I enjoy watching programming videos all the time just like movies.
And can you please share your wallpaper link 🙏
Thank you very much. I like your explaination.
Wow thank you so very much. Made my day 👍🏻🤗
It was exactly what i was looking for.. Explained to the point and explained each and every detail.. Thanks so much bro..
Thank you for making this.
Thank you much for such amazing and nice tutorials .. You teaching way really made easy to understand the concepts.. Appreciate you!!!
Great work sir
Merry Christmas Vandad! I spend my Xmas holidays coding with Vandad 🎅
Thank you very much!
best in the business. great explanation 👏
Glad you think so! 😎
Thanks
Very good explanation, I learned streams 🥰 Why did you quit youtube btw?
AWESOME EXPLANATION!!!
Could you tell us which vscode theme is it? 😊
Tokyo Night
Thanks for this explanation. I recently started Dart and Flutter and I like it. Just to ask, what are the extensions on your Vs Code?
Next full course on SVELTE/SVELTE KIT
What if you don't want to display the data piecemeal as it arrives? If you're receiving data packets for something larger than a few values and will only display the set of data when you've received all of the packets and have assembled them into that data. XModem, for example. The small packets are 128 bytes and you don't do anything with a packet until you've received all of the 128 bytes. I only seem to be able to find examples where data from the stream is being displayed as it arrives and not collected into a list or similar before doing something with it.
cant understand why a controller is created inside bind method and when data is added .. so complicated
which library is the .log() method in?
It comes from dart:developer 👍🏻
@@VandadNP Thanks!!!