destroy_async
Description:
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 |