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

  Рет қаралды 14,542

Programming Addict

Programming Addict

3 жыл бұрын

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

Пікірлер: 32
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
*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 Ай бұрын
3 years and still interesting topic
@The12Gage92
@The12Gage92 Жыл бұрын
This was exactly what I was looking for. Much appreciated.
@sergiofranklin8809
@sergiofranklin8809 3 жыл бұрын
finally, you've come back) Thank you for the video
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
Back and with more to come! Thank you!
@gilmcglory3748
@gilmcglory3748 3 жыл бұрын
Thanks for this very interesting tutorial, which offers a lot of possibilities. I'll give it a try.
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
Thank you for watching! I'm glad you liked it
@Tech1st
@Tech1st 3 жыл бұрын
It's really helpful , thank you
@pravinprince3221
@pravinprince3221 4 ай бұрын
Thank you for the wondeful video sir, it is so useful for me and my team, thanks again sir
@rapoliit
@rapoliit 3 жыл бұрын
yaa now i subscribed . thank you so much. its rarely covered concept.
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
Thanks!
@thiyraashdavid7784
@thiyraashdavid7784 3 жыл бұрын
Thanks for the info bro!
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
I'm glad this was helpful
@francescozazza1583
@francescozazza1583 3 жыл бұрын
Thank you bro, awesome!!!
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
Thank you for watching!
@noumanzafar8566
@noumanzafar8566 2 жыл бұрын
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
@dennisosamuyimen6378
@dennisosamuyimen6378 3 жыл бұрын
Thanks, this was awesome
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
Glad you enjoyed it, thanks for the comment!
@safi4588
@safi4588 8 ай бұрын
Hope it fixed 429 issue also thanks for the video 🎉
@kamaludin4573
@kamaludin4573 3 жыл бұрын
Nice video, please make firebase fcm notification video.
@infantraj4289
@infantraj4289 2 жыл бұрын
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?
@fredili3002
@fredili3002 8 ай бұрын
Will this work on Dio and can It counter connection timeout?
@vigneshreddy9262
@vigneshreddy9262 3 жыл бұрын
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
@francescofreddi4374
@francescofreddi4374 3 жыл бұрын
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 3 жыл бұрын
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 :(
@Tech1st
@Tech1st 3 жыл бұрын
If i want to get one API details should refresh other All API also,?
@avnish3719
@avnish3719 3 жыл бұрын
how we will handle the API status code and exception.
@nehakushwah8055
@nehakushwah8055 2 жыл бұрын
In Safari, if any request fail, then it is not executing other requests, how to fix this issue?
@angularsight6529
@angularsight6529 2 жыл бұрын
Crazy macha neenu...hope you have a good beautiful wife. Kshemvag hog labvag baa.
Learn to use Isolates in Flutter | Simplified
10:28
CodeX
Рет қаралды 23 М.
When, why, and how to multithread in Flutter
15:10
Flutter
Рет қаралды 62 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
Stop using async void in C#! Do this instead.
13:12
Nick Chapsas
Рет қаралды 57 М.
Catch Exceptions in Flutter Like Never Before!
9:02
Rivaan Ranawat
Рет қаралды 20 М.
Settling the Biggest Await Async Debate in .NET
14:47
Nick Chapsas
Рет қаралды 141 М.
Isolates vs. threads: what you need to know
16:40
I code you to death
Рет қаралды 962
Async vs Isolates | Decoding Flutter
4:24
Flutter
Рет қаралды 122 М.
Dart Streams - Flutter in Focus
8:01
Flutter
Рет қаралды 256 М.
Javascript Promises vs Async Await EXPLAINED (in 5 minutes)
5:50
Roberts Dev Talk
Рет қаралды 568 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН