Import
import { RefHashRing } from "@typed/fx";Access RefHashRing.addMany through the imported RefHashRing export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export declare const addMany: {
<A extends PrimaryKey.PrimaryKey>(nodes: Iterable<A>, options?: {
readonly weight?: number;
}): <E, R>(ref: RefHashRing<A, E, R>) => Effect.Effect<HashRing.HashRing<A>, E, R>;
<A extends PrimaryKey.PrimaryKey, E, R>(ref: RefHashRing<A, E, R>, nodes: Iterable<A>, options?: {
readonly weight?: number;
}): Effect.Effect<HashRing.HashRing<A>, E, R>;
};Why
Add multiple nodes to the HashRing. The operation remains attached to the RefSubject’s versioned state boundary.
Ownership and lifetime
Running add many performs one serialized hash ring transition and resolves with its committed value. It acquires no resource; failures and services remain those of the source ref.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.