API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceLoaderOptions
Construction options for Loader. `basePath` is prepended to relative asset paths at fetch time. `concurrency` caps the number of simultaneous background-queue fetches (default `6`). `cache` configures caching, and is optional: with nothing passed, every acquisition goes straight to the network and no cache machinery runs at all. One or more CacheStore instances configure a single cache-first route over them; an AssetCache configures routes and policies explicitly. `connectivity` is what makes an acquisition's network permission known to the cache and to a streaming asset type. Application supplies its own, so this is only for a loader built by hand.
import { LoaderOptions } from '@codexo/exojs'Construction options for Loader.
`basePath` is prepended to relative asset paths at fetch time. `concurrency` caps the number of simultaneous background-queue fetches (default `6`).
`cache` configures caching, and is optional: with nothing passed, every acquisition goes straight to the network and no cache machinery runs at all. One or more CacheStore instances configure a single cache-first route over them; an AssetCache configures routes and policies explicitly.
`connectivity` is what makes an acquisition's network permission known to the cache and to a streaming asset type. Application supplies its own, so this is only for a loader built by hand.
basePath?: stringcache?: AssetCacheThe application's caching configuration: which stores exist, which asset types use which of them, and in what order the cache and the network are consulted. Th… | CacheStorePhysical storage for cache records. A store is asset-agnostic by contract: it never sees an asset type, a factory, a codec or a runtime resource, and it does n… | readonly CacheStorePhysical storage for cache records. A store is asset-agnostic by contract: it never sees an asset type, a factory, a codec or a runtime resource, and it does n…[]concurrency?: numberfetchOptions?: RequestInit