API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classAbstractAssetFactory
Shared base class for all built-in AssetFactory implementations. Manages a pool of object URLs created during asset loading so that they can be revoked in bulk when the factory is destroyed, preventing memory leaks. Concrete subclasses must implement process and create; they may call createObjectUrl instead of `URL.createObjectURL` directly so that the URL is automatically tracked and cleaned up.
import { AbstractAssetFactory } from '@codexo/exojs' Shared base class for all built-in AssetFactory implementations.
Manages a pool of object URLs created during asset loading so that they can be revoked in bulk when the factory is destroyed, preventing memory leaks. Concrete subclasses must implement process and create; they may call createObjectUrl instead of `URL.createObjectURL` directly so that the URL is automatically tracked and cleaned up.
new(): AbstractAssetFactory<T> create(source: unknown, options?: unknown): Promise<T> createObjectUrl(blob: Blob): string destroy(): void process(response: Response): Promise<unknown> revokeObjectUrl(objectUrl: string): void storageName: string