Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LoadingGraph

Define a structure that allows to resolve dependencies fetching in the correct order. This structure is defined by the CDN service, it is associated to graphType=='sequential-v1'.

See also:

  • getLoadingGraph: return the loading graph from a list of package's name and version.
  • fetchBundles: directly fetch dependenceis from a list of package's name and version

Hierarchy

  • LoadingGraph

Index

Properties

definition

definition: [string, string][][]

List of javascript libraries to fetch by batch:

  • definition[i] defines a batch of libraries that can be fetched in any order (or at the same time), provided that all the libraries for the batches j<i have already be fetched
  • definition[i][j] defines the j'th library for the batch i: a tuple of [id, cdn-url] where id is the asset id and cdn-url the CDN's URL

graphType

graphType: string

Type of the graph (versioning to be able to change the fetching mecanism)

lock

lock: Library[]

Describes the libraries included in the loading graph

Generated using TypeDoc