Concurrency in Flutter and Dart - Running Multiple Async Requests at Once - Programming Addict

Поділитися
Вставка
  • Опубліковано 7 лис 2024
  • In this video I show you how to run concurrent requests in Flutter. Running multiple requests at the same time will in a lot of cases improve the load speeds for your apps which will improve your user experience. You'll see how to use async / await in an efficient way using the Future.wait method
    Concurrency in Flutter - Running Multiple Async Requests at Once - Programming Addict
    ►THIS PROJECT ON GITHUB◄
    Check pinned comment
    ►Video on Futures◄
    • What are Futures? Asyn...
    ►SUBSCRIBE TO THE CHANNEL◄
    ►CHECK OUT OTHER VIDEOS ON THE CHANNEL◄
    ►FOR ANY QUESTIONS CONTACT ME AT◄
    Email: programmingaddictyt@gmail.com
    ►THIS PROJECT ON GITHUB◄
    bit.ly/3peCdNg

КОМЕНТАРІ • 31

  • @ProgrammingAddict
    @ProgrammingAddict  4 роки тому +1

    *This project on Github*
    tinyurl.com/y52fc6np
    *Instagram*
    instagram.com/programming.addict/
    *Twitter*
    twitter.com/programmingadct

    • @emeryryan2415
      @emeryryan2415 3 роки тому

      You prolly dont give a shit but if you are bored like me atm then you can stream pretty much all the new series on instaflixxer. Been binge watching with my girlfriend for the last few months :)

    • @emanuelaydin3306
      @emanuelaydin3306 3 роки тому

      @Emery Ryan definitely, been using instaflixxer for years myself =)

  • @bramaningds
    @bramaningds 4 місяці тому +1

    3 years and still interesting topic

  • @sergiofranklin8809
    @sergiofranklin8809 4 роки тому +4

    finally, you've come back) Thank you for the video

  • @The12Gage92
    @The12Gage92 Рік тому +1

    This was exactly what I was looking for. Much appreciated.

  • @pravinprince3221
    @pravinprince3221 8 місяців тому

    Thank you for the wondeful video sir, it is so useful for me and my team, thanks again sir

  • @gilmcglory3748
    @gilmcglory3748 4 роки тому +1

    Thanks for this very interesting tutorial, which offers a lot of possibilities. I'll give it a try.

  • @rapoliit
    @rapoliit 3 роки тому

    yaa now i subscribed . thank you so much. its rarely covered concept.

  • @infantraj4289
    @infantraj4289 2 роки тому +1

    Thank you for the video, I have a question how many requests can give for better performance without exception.

    • @HUNGTRAN-yj2yq
      @HUNGTRAN-yj2yq 2 роки тому

      Hi, I have the same question. Do you find out any solution?

  • @thiyraashdavid7784
    @thiyraashdavid7784 4 роки тому

    Thanks for the info bro!

  • @noumanzafar8566
    @noumanzafar8566 2 роки тому +1

    Thanks for the great video. what if we have request that depended on each other and we want them to be executed from the same function

  • @Tech1st
    @Tech1st 4 роки тому

    It's really helpful , thank you

  • @francescozazza1583
    @francescozazza1583 4 роки тому

    Thank you bro, awesome!!!

  • @safi4588
    @safi4588 11 місяців тому

    Hope it fixed 429 issue also thanks for the video 🎉

  • @dennisosamuyimen6378
    @dennisosamuyimen6378 4 роки тому

    Thanks, this was awesome

  • @kamaludin4573
    @kamaludin4573 4 роки тому

    Nice video, please make firebase fcm notification video.

  • @vigneshreddy9262
    @vigneshreddy9262 3 роки тому +1

    Please answer this 🤔
    while using list with map getting error
    final abc=Future.wait(
    list1.map((item)=> http.get('some request')).toList()
    )
    Error
    The method 'then' was called on null

  • @Tech1st
    @Tech1st 4 роки тому +1

    If i want to get one API details should refresh other All API also,?

  • @francescofreddi4374
    @francescofreddi4374 4 роки тому

    Thank... like always......
    i have one problem; in one my project i catch some input String with BehaviorSubject in one class... inside that class there is one method that download some data (when arrive inside stream) from internet and give a Future...............
    In other class, where there is UI, is a statelesswidget and there is a FutureBuilder that display this data (form other class) but, but, but........ here in UI for display data i only found solution to use Statefullwidget and setState({}) because data there is, but FutureBuildet dont render nothing; even thought data arrive.
    Have you got some idea to solve this problem and avoid stateFull? please?

    • @francescofreddi4374
      @francescofreddi4374 4 роки тому

      i dont know if is better... construct a futureBuilder by calling on Provider (and call method) object from other class (where there is stream) OR construct his FutureProvider in the widget tree (near other normal Provider in that case) for retrive data :(

  • @fredili3002
    @fredili3002 11 місяців тому

    Will this work on Dio and can It counter connection timeout?

  • @nehakushwah8055
    @nehakushwah8055 3 роки тому

    In Safari, if any request fail, then it is not executing other requests, how to fix this issue?

  • @angularsight6529
    @angularsight6529 3 роки тому

    Crazy macha neenu...hope you have a good beautiful wife.
    Kshemvag hog labvag baa.