API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeResourceKey
The identity of one runtime resource: every residency entry, in-flight fetch and ownership claim is keyed by it. Composed of the asset type's identity, the SourceKey the resource is built from, and - when the type declares one - a resource discriminator covering every option that changes the produced resource. Two requests that differ only in an option the type does not treat as resource-relevant resolve to one key and are served by one resource. Containing the source key rather than the bare locator is what keeps the two dimensions consistent: distinct source data can never collapse onto one resident resource, whatever a type's resource discriminator says.
import { ResourceKey } from '@codexo/exojs'The identity of one runtime resource: every residency entry, in-flight fetch and ownership claim is keyed by it.
Composed of the asset type's identity, the SourceKey the resource is built from, and - when the type declares one - a resource discriminator covering every option that changes the produced resource. Two requests that differ only in an option the type does not treat as resource-relevant resolve to one key and are served by one resource.
Containing the source key rather than the bare locator is what keeps the two dimensions consistent: distinct source data can never collapse onto one resident resource, whatever a type's resource discriminator says.
string