Instance Method
updateAsset(named:asset:in:)
Update the asset with a new value given the assets name and the topic it’s referenced in.
func updateAsset(named name: String, asset: DataAsset, in parent: ResolvedTopicReference)
Parameters
nameThe name of the asset to update.
assetThe new asset for this name.
parentThe topic where the asset is referenced.