Import
import { makeCollection } from "@typed/ui/Menu";Signatures
export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;Examples
import * as Effect from "effect/Effect";
import * as Menu from "@typed/ui/Menu";
const program = Effect.scoped(
Effect.gen(function* () {
const collection = yield* Menu.makeCollection();
return yield* collection;
}),
);Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.