new_async


Description:

public static async Connection new_async (ConnectionFlags flags, File? store, File? ontology, Cancellable? cancellable = null) throws Error

Creates or opens a process-local database asynchronously.

See [ctor@SparqlConnection.new] for more information.

Parameters:

flags

Connection flags to define the SPARQL connection behavior

store

The database location as a [iface@Gio.File], or null

ontology

The directory that contains the database schemas as a [iface@Gio.File], or null

cancellable

Optional [type@Gio.Cancellable]

callback

User-defined [type@Gio.AsyncReadyCallback] to be called when the asynchronous operation is finished.

user_data

User-defined data to be passed to callback