API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceCachePolicyResolutionContext
@codexo/exojs / assets / stable
What a CachePolicyResolver is told about the acquisition it is choosing a policy for.
3
props
0
methods
0
events
Import
import { CachePolicyResolutionContext } from '@codexo/exojs'What a CachePolicyResolver is told about the acquisition it is choosing a policy for.
Properties3
namespace: stringThe storage namespace of the acquisition, which is the asset type's id.
network: NetworkSnapshotThe connectivity facts this acquisition starts under, as the loader knew them at that moment. A snapshot rather than the service itself. A resolver therefore cannot subscribe to connectivity, cannot outlive the decision, and cannot be bound to one application - which is what lets one AssetCache be shared between applications that disagree about whether they may use the network.
sourceKey: stringThe source identity being acquired.
Source