ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Asynchronous Programming in Dart - Learn About Future, Stream and StreamController in Dart
ฝัง
- เผยแพร่เมื่อ 12 ส.ค. 2024
- This video is part of the Dart Crash Course playlist on TH-cam. 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 TH-cam channel to support me: / vandadnp
Also please follow me on Twitter and LinkedIn to stay up to date:
/ vandadnp
/ vandadnp
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 ❤
I just opened TH-cam 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 🙏
unstoppable 👏
Indeed 😊
Thank you very much. I like your explaination.
Wow thank you so very much. Made my day 👍🏻🤗
Merry Christmas Vandad! I spend my Xmas holidays coding with Vandad 🎅
best in the business. great explanation 👏
Glad you think so! 😎
Thank you much for such amazing and nice tutorials .. You teaching way really made easy to understand the concepts.. Appreciate you!!!
Thank you for making this.
AWESOME EXPLANATION!!!
Could you tell us which vscode theme is it? 😊
Tokyo Night
It was exactly what i was looking for.. Explained to the point and explained each and every detail.. Thanks so much bro..
Great work sir
Thanks
Thank you very much!
Very good explanation, I learned streams 🥰 Why did you quit youtube btw?
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
cant understand why a controller is created inside bind method and when data is added .. so complicated
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.
which library is the .log() method in?
It comes from dart:developer 👍🏻
@@VandadNP Thanks!!!