Virtual Method

IdeCommandrun_async

since: 3.32

Declaration

void
run_async (
  IdeCommand* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Runs the command, asynchronously.

Use ide_command_run_finish() to get the result of the operation.

Available since: 3.32

Parameters

cancellable

Type: GCancellable

A GCancellable.

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback to execute upon completion.

user_data

Type: gpointer

Closure data for callback.

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