offer_async


Description:

public async DBusConnection offer_async (HashTable<void*,void*>? @params) throws Error

Offer an outgoing D-Bus tube.

When the tube has been offered and accepted callback will be called. You can then call offer_async.end to get the DBusConnection that will be used to communicate through the tube.

Parameters:

this

an outgoing DBusTubeChannel

callback

a callback to call when the tube has been offered

params

parameters of the tube, or null

user_data

data to pass to callback