from typing import Callable
import asyncio


def make_async(func: Callable):
    """
    wrap a function with a future to make it async
    """
    def wrapper(*args, **kwargs):
        future = asyncio.Future()
        future.set_result(func(*args, **kwargs))
        return future
    return wrapper