ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

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

ความคิดเห็น • 31

  • @geevanr3358
    @geevanr3358 ปีที่แล้ว +18

    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.

  • @minatominato2175
    @minatominato2175 ปีที่แล้ว +7

    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 ❤

  • @okeyshourovroy2769
    @okeyshourovroy2769 ปีที่แล้ว +4

    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 🙏

  • @abdullahalamodi5455
    @abdullahalamodi5455 ปีที่แล้ว +11

    unstoppable 👏

    • @VandadNP
      @VandadNP  ปีที่แล้ว +5

      Indeed 😊

  • @tzeroem
    @tzeroem ปีที่แล้ว +9

    Thank you very much. I like your explaination.

    • @VandadNP
      @VandadNP  ปีที่แล้ว +4

      Wow thank you so very much. Made my day 👍🏻🤗

  • @mikolajdebowski3271
    @mikolajdebowski3271 ปีที่แล้ว +1

    Merry Christmas Vandad! I spend my Xmas holidays coding with Vandad 🎅

  • @sachinbasnet8258
    @sachinbasnet8258 ปีที่แล้ว +4

    best in the business. great explanation 👏

    • @VandadNP
      @VandadNP  ปีที่แล้ว +1

      Glad you think so! 😎

  • @rashicomm
    @rashicomm ปีที่แล้ว +1

    Thank you much for such amazing and nice tutorials .. You teaching way really made easy to understand the concepts.. Appreciate you!!!

  • @blueice1364
    @blueice1364 ปีที่แล้ว +2

    Thank you for making this.

  • @kiiwill
    @kiiwill 4 หลายเดือนก่อน +2

    AWESOME EXPLANATION!!!
    Could you tell us which vscode theme is it? 😊

    • @VandadNP
      @VandadNP  4 หลายเดือนก่อน +1

      Tokyo Night

  • @topGfanboy
    @topGfanboy ปีที่แล้ว +2

    It was exactly what i was looking for.. Explained to the point and explained each and every detail.. Thanks so much bro..

  • @hamzashehzad7273
    @hamzashehzad7273 ปีที่แล้ว +1

    Great work sir

  • @rashicomm
    @rashicomm ปีที่แล้ว +2

    Thanks

  • @user-vi2fp6dl7b
    @user-vi2fp6dl7b 7 หลายเดือนก่อน +1

    Thank you very much!

  • @KaroKaro290
    @KaroKaro290 3 หลายเดือนก่อน +1

    Very good explanation, I learned streams 🥰 Why did you quit youtube btw?

  • @CryptoConduct
    @CryptoConduct ปีที่แล้ว

    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?

  • @Harshadswe123
    @Harshadswe123 ปีที่แล้ว +2

    Next full course on SVELTE/SVELTE KIT

  • @HiChunTaChen
    @HiChunTaChen 6 หลายเดือนก่อน

    cant understand why a controller is created inside bind method and when data is added .. so complicated

  • @krisd9506
    @krisd9506 ปีที่แล้ว

    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.

  • @gravitstudio
    @gravitstudio ปีที่แล้ว +2

    which library is the .log() method in?

    • @VandadNP
      @VandadNP  ปีที่แล้ว +2

      It comes from dart:developer 👍🏻

    • @gravitstudio
      @gravitstudio ปีที่แล้ว +1

      @@VandadNP Thanks!!!