Preload interface
Settles once everything has settled.
import type { Preload } from '@dioramajs/diorama/assets'Never rejects.
interface Preload extends PromiseLike<void>Members
| Name | Type | Description |
|---|---|---|
dispose | | Same as release, for |
release | | Drops the leases now. Otherwise they are held until the next preload of the same kind. |
then | | Attaches callbacks for the resolution and/or rejection of the Promise. |
Also exported from @dioramajs/assets.
Defined in packages/assets/src/types.ts.