Wrapper for [func@Gio.
bus_own_name].
Asks the D-Bus broker to own the well-known name name on the connection connection.
out_name_acquired_future is a future that awaits owning the name and either resolves to true, or rejects with an error.
out_name_lost_future is a future that rejects when the name was lost.
If either future is canceled, the name will be unowned.
| connection |
The [class@Gio.DBusConnection] to own a name on. |
| name |
The well-known name to own. |
| flags |
a set of flags with ownership options. |
| out_name_acquired_future |
a location for the name acquired future |
| out_name_lost_future |
a location for the name lost future |