@MichaelCaisse@DanielaKEngert@HSukesan@odinthenerd@lefticus@JSAMcFarlane As much as I do love declarative/functional style (I still hate that most of protocols are parsed proceduraly instead of declarative way), in case of inherently statefull thing like communication, I do started to enjoy coroutines. (It beats writing objects with state for some)
@MichaelCaisse@HSukesan@DanielaKEngert@odinthenerd@lefticus@JSAMcFarlane I cam curious, have you considered allocator-compatible coroutines? Abstraction provided by coroutines is "handy" for embedded exactly because of the async. nature. And allocators make it possible to get rid of dyn. memory :)