TESSA Web API
    Preparing search index...

    Interface IKeyedStorageValueFactory<K, T, S>

    interface IKeyedStorageValueFactory<
        K = string,
        T = unknown,
        S extends IStorage | IStorageArray = IStorage | IStorageArray,
    > {
        getKeyedValue(key: K, storage: S): T;
        getKeyedValueAndStorage(key: K): { storage: S; value: T };
    }

    Type Parameters

    Implemented by

    Index

    Methods

    • Parameters

      • key: K
      • storage: S

      Returns T

    • Parameters

      • key: K

      Returns { storage: S; value: T }