API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeAssetDependencyScope

@codexo/exojs / assets / stable

The seam through which a factory acquires the assets its resource depends on. Everything loaded through it is owned by the resource being built and is released with it, unless another owner holds it independently - so a font's page textures survive exactly as long as the font, however many consumers the deduplicated font itself has. It is deliberately narrower than the scope backing it: a factory may acquire dependencies, but not release them, tear the scope down, or unpack a container into it. Those decisions belong to whoever owns the resource.

0
props
0
methods
0
events
Import
import { AssetDependencyScope } from '@codexo/exojs'

The seam through which a factory acquires the assets its resource depends on.

Everything loaded through it is owned by the resource being built and is released with it, unless another owner holds it independently - so a font's page textures survive exactly as long as the font, however many consumers the deduplicated font itself has.

It is deliberately narrower than the scope backing it: a factory may acquire dependencies, but not release them, tear the scope down, or unpack a container into it. Those decisions belong to whoever owns the resource.

Definition1
Source