Skip to content

tools

dandy.core.future.tools

R = TypeVar('R') module-attribute

process_to_future

Source code in dandy/core/future/tools.py
def process_to_future(
        callable_: Callable[..., R],
        *args,
        **kwargs
) -> AsyncFuture[R]:
    return AsyncFuture[R](callable_, *args, **kwargs)