Appearance
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 | - |
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). |