My function Future<String> readConfig() async loads a file. Calling print(readConfig()) prints Instance of 'Future<String>' instead of the text. After adding await that works, but a second function that parses a large log inside an async method still freezes my Flutter UI for about a second.
I assumed async meant "runs in the background". What do async and await really do, and how is CPU-heavy work supposed to be moved off the UI?




