Ide.Pipeline.rebuild_async

### Method

# Ide Pipelinerebuild_async

#### Declaration

    void
    ide_pipeline_rebuild_async (
      IdePipeline* self,
      IdePipelinePhase phase,
      GPtrArray* targets,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description

Asynchronously starts the build pipeline after cleaning any existing build artifacts.

Available since: | 3.32

#### Parameters

`phase` | `IdePipelinePhase`
| The requested build phase.
`targets` | An array of `None`
| An array of `IdeBuildTarget` or `NULL`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`cancellable` | `GCancellable`
| A `GCancellable` or `NULL`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`callback` | `GAsyncReadyCallback`
| A callback to build upon completion.
| The argument can be `NULL`.
`user_data` | `gpointer`
| Data for `callback`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.