@microsoft/ccf-app
    Preparing search index...

    Function typedKv

    • Returns a typed view of a map in the Key-Value Store, where keys and values are automatically converted to and from ArrayBuffer based on the given key and value converters.

      See the converters module for available converters.

      Type Parameters

      • K
      • V

      Parameters

      • nameOrMap: string | KvMap

        Either the map name in the Key-Value Store, or a KvMap object.

      • kt: DataConverter<K>

        The converter to use for map keys.

      • vt: DataConverter<V>

        The converter to use for map values.

      Returns TypedKvMap<K, V>