generate_async


Description:

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

Asynchronous variant of generate().

From the callback, call generate_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_for_media_async() instead.

Parameters:

this

the install script

os

the os

config

the install script config

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