async def METHOD_NAME(
    function: Callable[
        [_ErrorType],
        Kind2['FutureResult', _ValueType, _NewErrorType],
    ],
    inner_value: Awaitable[Result[_ValueType, _ErrorType]],
) -> Result[_ValueType, _NewErrorType]:
    """Async lashes a function returning a container over a value."""
    container = await inner_value
    if isinstance(container, Success):
        return container
    return (await dekind(function(container.failure())))._inner_value