Package: effect
Module: HashRing
Creates an empty HashRing.
When to use
Use to create an empty weighted consistent-hashing ring with the default or custom virtual-point density.
Details
baseWeight controls how many virtual points are added for a node with
weight 1; it defaults to 128 and is clamped to at least 1.
See
add for registering one node after creationaddMany for registering several nodes after creationSignature
declare const make: <A extends PrimaryKey.PrimaryKey>(options?: { readonly baseWeight?: number | undefined; }) => HashRing<A>
Since v3.19.0