close_channels_async


Description:

[ Version ( since = "0.15.1" ) ]
public async bool close_channels_async () throws Error

Called by an approver to claim channels and close them all right away.

If this method is called successfully, this has been claimed and close_async has been called on all of its channels.

If successful, this method will cause the invalidated signal to be emitted, in the same way as for handle_with_async.

This method may fail because the dispatch operation has already been completed. Again, see handle_with_async for more details.

TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE feature must be prepared before calling this function.

Parameters:

this

a ChannelDispatchOperation

callback

a callback to call when the request has been satisfied

user_data

data to pass to callback