ESP8266 Futures - Part 1/3: Function Chaining - Day 34 of #100DaysOfCode in IoT

preview_player
Показать описание
I'm trying to implement C++ lambda-based futures/promises to make async, non-blocking programming on the ESP8266 microcontroller possible.

You can find the code from this episode here:

Social Media:

Software used in the video:
1. Visual Studio Code IDE:
2. C/C++ VSCode extension:
3. Clang-Format VSCode extension:
4. PlatformIO VSCode extension:

Thanks for watching and see you tomorrow!

00:00:00 Intro
00:00:29 Creating a new project from the template
00:05:20 How to chain functions in C++
00:24:48 Template specialization for void input type
00:29:45 What function chaining has to do with the futures?
00:35:18 Building a Future class with 'and_then' function chaining functionality
01:02:15 Plan for tomorrow
01:06:20 The end
Рекомендации по теме