Readonly entryTarget context entry.
Optional Readonly placeIgnored when buildAsset defined.
Optional Readonly supplyAsset supply.
Removes the asset once cut off.
Returned from provide when specified. New one created when omitted.
Builds value asset provider. The provider would then place value assets to the target context entry.
In contrast to placeAsset, this method is called at most once per context. If provider will be called each time value assets requested.
This method also supports updatable assets. For that, an update function is passed as second parameter. Call it
to inform the interested parties on value asset update. The updated asset has to be provided by provider returned
earlier.
Context entry definition target.
A function to call when asset updated.
Value assets provider accepting assets collector to place assets to as its only parameter, or falsy value if there are no value assets.
Optional setupSets up asset.
This method is called immediately when asset provided.
It can be used e.g. to provide additional assets. Additional assets will be revoked when the asset itself revoked.
Context entry definition target.
Generated using TypeDoc
Context entry asset builder.
Builds a provider of assets for the value of specific context entry.