Skip to main content
Module

x/rimbu/hashed/set-custom/index.ts>HashSetCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
interface HashSetCreators
implements [RSetBase.Factory]<HashSet.Types>
import { type HashSetCreators } from "https://deno.land/x/rimbu@1.2.1/hashed/set-custom/index.ts";

Methods

createContext<UT>(options?: { hasher?: Hasher<UT>; eq?: Eq<UT>; blockSizeBits?: number; listContext?: List.Context; }): HashSet.Context<UT>

Returns a new HashSet context instance based on the given options.

defaultContext<UT>(): HashSet.Context<UT>

Returns the default context for HashSets.