These are chat archives for esp8266/Arduino

18th
Aug 2018
Develo
@devyte
Aug 18 2018 07:14
@diraniyoussef I understand that the async libs run the callbacks in the SYS context, unlike the core libs which run in the CONT context. There are restrictions for what code can execute in the SYS context, and also there are slightly stricter timing requirements. That means that what you did is exactly what you're supposed to do: delegate heavy lifting to the loop. One way is with flags, another way is with scheduled functions.
diraniyoussef
@diraniyoussef
Aug 18 2018 18:24
@devyte and I guess scheduled tasks run in CONT