i recently decided to replace a low level function inside my codebase with an async version.
the issue is that since in my codebase, all functions are pretty much dependant on the previous results, i needed to make the whole parent chain of functions which call this function async
this has led to an async infection. however the issue is that at the top level i have the constructor which also needs to work synchronously, but the function it is calling is async in nature.
what should i do?
the low level function i am upgrading to is not mine and is provied my the api of the system im building on.