generate_output_async


Description:

[ Version ( since = "0.2.0" ) ]
public async File generate_output_async (Os os, InstallConfig config, File output_dir, Cancellable? cancellable) throws Error

Asynchronous variant of generate_output().

From the callback, call generate_output_async.end() to conclude this call and get the generated script.

If you are generating the script for a specific media, it is recommended that you use generate_output_for_media_async() instead.

Parameters:

this

the install script

os

the os

config

the install script config

output_dir

the directory where the file containing the output script will be written

cancellable

a Cancellable, or null

callback

Function to call when result of this call is ready

user_data

The user data to pass to callback, or null