destroy_async


Description:

[ Version ( since = "0.15.2" ) ]
public async bool destroy_async () throws Error

Destroy channel this.

If this doesn't implement TP_IFACE_QUARK_CHANNEL_INTERFACE_DESTROYABLE or if for any reason we can't destroy the channel, we close it.

When the channel has been destroyed or closed, callback will be called. You can then call destroy_async.end to get the result of the operation.

Parameters:

this

a Channel

callback

a callback to call when we left the channel

user_data

data to pass to callback




2022 vala-language.org