# CreatePipelineAsyncStatus

Artifact: [androidx.webgpu:webgpu](https://developer.android.com/jetpack/androidx/releases/webgpu) [View Source](https://cs.android.com/search?q=file:androidx/webgpu/CreatePipelineAsyncStatus.kt+class:androidx.webgpu.CreatePipelineAsyncStatus) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
class CreatePipelineAsyncStatus
```

<br />

*** ** * ** ***

Indicates the status of an asynchronous pipeline creation request.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/CreatePipelineAsyncStatus#CallbackCancelled() = 2` Indicates the asynchronous pipeline creation was cancelled. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/CreatePipelineAsyncStatus#InternalError() = 4` An internal error occurred during pipeline creation. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/CreatePipelineAsyncStatus#Success() = 1` Pipeline creation was successful. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/CreatePipelineAsyncStatus#ValidationError() = 3` A validation error occurred during pipeline creation. |

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/CreatePipelineAsyncStatus#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Constants

### CallbackCancelled

```
const val CallbackCancelled = 2: Int
```

Indicates the asynchronous pipeline creation was cancelled. This happens if the device is lost or destroyed while the pipeline is being compiled.

### InternalError

```
const val InternalError = 4: Int
```

An internal error occurred during pipeline creation.

### Success

```
const val Success = 1: Int
```

Pipeline creation was successful.

### ValidationError

```
const val ValidationError = 3: Int
```

A validation error occurred during pipeline creation.

## Public companion functions

### toString

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
fun toString(value: Int): String
```