close_async


Description:

[ Version ( since = "0.13.10" ) ]
public async bool close_async () throws Error

Close channel this.

In most cases, it's generally cleaner to use leave_async instead to properly leave and close the channel.

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

Parameters:

this

a Channel

callback

a callback to call when we closed the channel, or null to ignore any reply

user_data

data to pass to callback




2022 vala-language.org