quit_async


Description:

[ Version ( since = "1.8.11" ) ]
public async bool quit_async (Cancellable? cancellable) throws Error

Asks the daemon to quit.

This can only be called by the root user.

NOTE: This will only actually quit if an install is not already in progress.

Parameters:

this

a Client

cancellable

optional Cancellable

callback

the function to run on completion

callback_data

the data to pass to callback