Asynchronous Programming in Dart - Learn About Future, Stream and StreamController in Dart

Sdílet
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

Komentáře • 31

  • @geevanr3358
    @geevanr3358 Před rokem +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 Před rokem +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 ❤

  • @abdullahalamodi5455
    @abdullahalamodi5455 Před rokem +11

    unstoppable 👏

  • @okeyshourovroy2769
    @okeyshourovroy2769 Před rokem +4

    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 🙏

  • @tzeroem
    @tzeroem Před rokem +9

    Thank you very much. I like your explaination.

    • @VandadNP
      @VandadNP  Před rokem +4

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

  • @topGfanboy
    @topGfanboy Před rokem +2

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

  • @blueice1364
    @blueice1364 Před rokem +2

    Thank you for making this.

  • @rashicomm
    @rashicomm Před rokem +1

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

  • @hamzashehzad7273
    @hamzashehzad7273 Před rokem +1

    Great work sir

  • @mikolajdebowski3271
    @mikolajdebowski3271 Před rokem +1

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

  • @user-vi2fp6dl7b
    @user-vi2fp6dl7b Před 6 měsíci +1

    Thank you very much!

  • @sachinbasnet8258
    @sachinbasnet8258 Před rokem +4

    best in the business. great explanation 👏

  • @rashicomm
    @rashicomm Před rokem +2

    Thanks

  • @KaroKaro290
    @KaroKaro290 Před 3 měsíci +1

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

  • @kiiwill
    @kiiwill Před 4 měsíci +2

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

  • @CryptoConduct
    @CryptoConduct Před 11 měsíci

    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 Před rokem +2

    Next full course on SVELTE/SVELTE KIT

  • @krisd9506
    @krisd9506 Před rokem

    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.

  • @HiChunTaChen
    @HiChunTaChen Před 5 měsíci

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

  • @gravitstudio
    @gravitstudio Před rokem +2

    which library is the .log() method in?