A type of context to build.
Constructs context builder.
Context creator function. Accepts context value accessor and the builder itself as parameters, and returns created context.
Rest
...peers: CxPeer<TContext>[]Context peers to apply assets from. These assets applied before the ones provided * explicitly. Peers listed later have lesser CxAsset.Provided.rank rank values than the ones listed earlier.
Private
Readonly
_boundPrivate
Readonly
Internal
_cachePrivate
Readonly
_cxInternal
Readonly
Internal
_peersProtected
cacheContext to build.
The number of CxAsset.Provided.rank asset ranks this peer contains.
Context peer supply.
Revokes all assets provided by this peer once cut off.
Iterates over particular entry assets in the same order they are provided.
Each asset reported to the given callback
function until the latter returns false
or there are no more
assets.
Context entry definition target to iterate over assets of.
Target context cache.
Assets callback.
Iterates over particular entry assets with the most recent assets iterated first. I.e. in reverse order to the order they are provided.
Each asset reported to the given callback
function until the latter returns false
or there are no more
assets.
Context entry definition target to iterate over assets of.
Target context cache.
Assets callback.
Optional
request: WithoutFallback<TValue>Optional
request: CxRequest<TValue>Reads assets of particular entry value and start tracking of their additions.
Context entry definition target to track assets for.
Target context cache.
A receiver to report existing and added assets to.
Optional
tracking: CxTrackingTracking options.
Assets supply. Stops assets tracking once cut off.
Generated using TypeDoc
Context builder.
Provides value assets for the context.