So I have two functions in my program right now, with one being an async function and the other being a synchronous function.
Assuming that it looks like this:
async def function1(param):
   ...
def function2(param):
   ...
How do I go about putting both functions in a dispatch table? This is what I have tried which doesn't work:
dispatch_table = {
        "key_1": await function_1
        , "key_2": function_2
    }
dispatch_table[key](param)
Any help will be greatly appreciated, thanks.
