Class TransformedSet<T, U, S>

A set adapter that serializes values with a codec. Codec needs to be monotonic to preserve iteration order.

Type Parameters

Implements

Constructors

Properties

[asyncIterator]: S extends Iterable<U> | AsyncIterable<U>
    ? (() => AsyncIterableIterator<T>)
    : undefined
[iterator]: S extends Iterable<U>
    ? (() => IterableIterator<T>)
    : undefined
[rangeQueryable]: S extends RangeQueryable<U, U>
    ? true
    : undefined
codec: Codec<T, U> = ...

Key codec.

entries: TransformedSetQuery<T, U, S, [T, T]>
keys: TransformedSetQuery<T, U, S, T>
set: S

Underlying set.

values: TransformedSetQuery<T, U, S, T>

Accessors

Methods

Generated using TypeDoc