set_preview_async_func


Description:

public void set_preview_async_func (owned PreviewRunAsyncFunc? func)

Set preview function (async variant).

Use this call to set the preview function. By default a new thread will be spawned and the preview_func will be invoked there. You must call either this method or the sync variant set_preview_func() to make this instance fully usable. See set_preview_func() for more details.