Skip to content

Connectum API Reference / @connectum/core / CreateCatalogClientOptions

Interface: CreateCatalogClientOptions

Defined in: packages/core/src/catalogClient.ts:46

Options for createCatalogClient.

Properties

catalog

catalog: ServiceCatalog

Defined in: packages/core/src/catalogClient.ts:51

The service catalog (a Record<typeName, DescService>) that backs typed dispatch — the same object passed to createServer({ catalog }).


resolver

resolver: RemoteResolver

Defined in: packages/core/src/catalogClient.ts:58

Maps a target service typeName to a ConnectRPC Transport. Required: unlike a Server, a catalog client has no in-process/local path, so every call is routed through the resolver. A resolver that returns null for a target makes that call fail with Code.Unavailable.