Method

IdeCommandrun_async

Declaration

void
ide_command_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 GCancellable*
 

A GCancellable.

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

A GAsyncReadyCallback to execute upon completion.

user_data gpointer
 

Closure data for callback.