Skip to main content

setMeta

Callable

  • setMeta<K>(key: K, value: InterfaceValueByKey<ICustomGlobalMeta, K, unknown, void>): void
  • setMeta<K>(key: K, value: ICustomGlobalMeta[K]): void
  • setMeta<V, K>(key: K, value: InterfaceValueByKey<ICustomGlobalMeta, K, V, void>): void

  • Stores the given value with the specified key.

    Remarks

    The given value will be shared locally to all resources.


    Type parameters

    • K: string