TypeScript API Documentation for DEX
API Version: 1
Library Version: 1.0.0
Generated with TypeDoc via ts-for-gir v5.2.0
Since 1.1
Wrapper for Gio.bus_own_name.
Asks the D-Bus broker to own the well-known name name on the connection connection.
name
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_acquired_future
out_name_lost_future is a future that rejects when the name was lost.
out_name_lost_future
If either future is canceled, the name will be unowned.
The Gio.DBusConnection to own a name on.
The well-known name to own.
a set of flags with ownership options.
1.1
Wrapper for Gio.bus_own_name.
Asks the D-Bus broker to own the well-known name
nameon the connectionconnection.out_name_acquired_futureis a future that awaits owning the name and either resolves to true, or rejects with an error.out_name_lost_futureis a future that rejects when the name was lost.If either future is canceled, the name will be unowned.