A pageable collection of values based on the provided NamedCache<K, V>.

Type Parameters

  • K

    the key type of the named cache

  • V

    the value type of the named cache

Hierarchy

  • PagedSet<K, V, V>
    • ValueSet

Constructors

Properties

Accessors

Methods

Constructors

  • Constructs a new ValueSet.

    Type Parameters

    • K

    • V

    Parameters

    • namedCache: NamedCacheClient<K, V>

      the NamedCache to page through

    Returns ValueSet<K, V>

Properties

[toStringTag]: string = 'ValueSet'
namedCache: NamedCacheClient<K, V>

NamedCache reference to allow the manipulation of an underlying cache while pages are processed.

Accessors

  • get size(): Promise<number>
  • Inherit Doc

    Returns Promise<number>

Methods

  • Returns an async iterator for paging.

    Returns

    an async iterator for paging

    Returns PageAdvancer<unknown, unknown, EntryResult, V>

  • Inherit Doc

    Returns IterableIterator<V>

  • This is an unsupported operation.

    Returns Promise<boolean>

  • This is an unsupported operation.

    Parameters

    • e: V

    Returns Promise<boolean>

  • Inherit Doc

    Parameters

    • value: V

    Returns Promise<boolean>