async def proxy_new(connection, flags, info, name, object_path, interface_name):
    """Asynchronously call the specified method on a DBus proxy object."""
    future = Future()
    cancellable = None
    Gio.DBusProxy.new(
        connection,
        flags,
        info,
        name,
        object_path,
        interface_name,
        cancellable,
        gio_callback,
        future,
    )
    result = await future
    value = Gio.DBusProxy.new_finish(result)
    if value is None:
        raise RuntimeError("Failed to connect DBus object!")
    return value
Asynchronously call the specified method on a DBus proxy object.