I have created a decorator function that essentially converts the wrapped sync function to async. Below is what I mean (simplified version).
def async_dec(fn)