Method

SysprofDocumentLoaderload_async

Declaration [src]

void
sysprof_document_loader_load_async (
  SysprofDocumentLoader* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously loads the document.

callback should call sysprof_document_loader_load_finish().

This method completes asynchronously. Use sysprof_document_loader_load_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A callback to execute upon completion.

The argument can be NULL.
user_data

Type: gpointer

Closure data for callback.

The argument can be NULL.
The data is owned by the caller of the method.