initial_setup


Description:

[ Version ( since = "3.20" ) ]
public async bool initial_setup (int io_priority, Cancellable? cancellable = null, out HashTable<unowned string,unowned string> out_save_setup) throws Error

Runs initial setup for the this asynchronously.

When the operation is finished, callback will be called. You can then call initial_setup.end to get the result of the operation.

The this advertises support of this function by including CAMEL_STORE_SUPPORTS_INITIAL_SETUP in CamelStore:CamelStore:flagss.

Parameters:

this

a Store

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function




2022 vala-language.org