Mapper Write Key Value Repo
constructor(to: WriteKeyValueRepo<ToKey, ToValue>, mapper: MapperRepo<FromKey, FromValue, ToKey, ToValue>)(source)
Parameters
to
The underlying WriteKeyValueRepo to delegate operations to
mapper
The MapperRepo providing bidirectional key/value type conversions
Type Parameters
From Key
The outer key type exposed by this repo
From Value
The outer value type exposed by this repo
To Key
The inner key type used by the underlying to repo
To Value
The inner value type used by the underlying to repo