foundation-comms.metadatacache.setmetadatafor
Home > @genesislcap/foundation-comms > MetadataCache > setMetadataFor
MetadataCache.setMetadataFor() method
Sets the metadata for the specified resource name.
Signature:
setMetadataFor(resourceName: string, metadata: Metadata): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
resourceName |
string |
The name of the resource. |
|
metadata |
The metadata to set. |
Returns:
void