---
url: /api/kiln/interfaces/AssetHandle.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / AssetHandle

# Interface: AssetHandle\<T>

A loading or loaded asset. Systems check `ready` (or `failed`) and never await.

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `T` | `unknown` |

## Properties

| Property | Modifier | Type | Description |
| ------ | ------ | ------ | ------ |
|  `path` | `readonly` | `string` | - |
|  `kind` | `readonly` | [`AssetKind`](../type-aliases/AssetKind.md) | - |
|  `ready` | `public` | `boolean` | - |
|  `failed` | `public` | `boolean` | - |
|  `error` | `public` | `string` | `null` | Why loading failed, naming the fix. |
|  `value` | `public` | `T` | `null` | - |
|  `promise` | `readonly` | `Promise`<`T`> | Resolves with the value; for code outside systems (startup scripts, tests). |
