Say you have 10 functions in C# that call each other. They all work fine. Later on the lowest function changes so it needs to call an api and await
something. That means the function must be async
. Now each
function that calls that function must also await
& be async
.
Is there a way to break that?
As it is, I have to change all the functions that are related to that async
functions into async
functions. It's a hassle and I was wondering if there's something like the FutureBuilder for C#?