Тёмный

Dart Async - Futures in Dart 

Johan Jurrius
Подписаться 10 тыс.
Просмотров 4,2 тыс.
50% 1

In this video we look at Futures in Dart. We look at using async, await and then() with Futures.
Follow the full playlist here: • Introducing Flutter

Опубликовано:

 

26 май 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@micleadavid2041
@micleadavid2041 2 года назад
Finally, someone managed to explain futures in a way that I can understand! Thanks!
@t_tek760
@t_tek760 2 года назад
This is the most underrated tech RU-vid channel I’ve ever come across… every tutorial is a top notch
@patrickkasl9611
@patrickkasl9611 Год назад
Thank you so much. Always had trouble understanding as a back-end specialist.
@mohammadd7811
@mohammadd7811 2 года назад
Big Thanks
@zainsmwiinde7156
@zainsmwiinde7156 2 года назад
Your tutorials are the best, Thank you very much🙏🙏🙏
@Jan123.
@Jan123. 2 года назад
Such a great tutorial. Thanks a lot.
@offical_Inspire_before_Expire
@offical_Inspire_before_Expire 2 года назад
Johan Jurrius You Are Superb
@jara2033
@jara2033 2 года назад
thx bro
@harry356
@harry356 2 года назад
getPizzaOrdered should be pizzaDelivered
@jimaustin3608
@jimaustin3608 3 года назад
Excellent tutorial on/discussion of futures and how they work … I learned a lot! Quick question: When the syntax (in goEatPizza) changed from ‘await’ to ‘.then’, Android Studio gave a warning about the async keyword, but the code ran OK. With the async keyword removed warning went away and code still ran. I noticed VS didn’t give a warning. I gather ‘async’ is not needed with .then, but doesn’t cause an error?
@JohanJurrius
@JohanJurrius 3 года назад
You dont need to use await. Await halts the code until its done. If you do not want that functionality, then remove await and async.
@harry356
@harry356 2 года назад
Shouldn't order and get pizza ordered not be combined? And I think it is more clear when the waiting for the pizza is done in another thread / class / isolate? Instead of the same class. Also the first synchronous example makes no sense because order and getpizzaordered should be the same?
Далее
Crust of Rust: async/await
2:34:01
Просмотров 187 тыс.
Dart Collections - Lists
18:59
Просмотров 12 тыс.
Dart Functions - Introduction to Functions
16:56
Просмотров 6 тыс.
Flutter State Management - Routes and Provider
34:23
Просмотров 10 тыс.
Dart Collections - Maps
14:33
Просмотров 10 тыс.
Flutter Basics - Stateless and Stateful Widgets
32:16
Settling the Biggest Await Async Debate in .NET
14:47
Просмотров 141 тыс.