Skip to content

RegistryOptions

Defined in: core/src/registry.ts:61

optional chains?: Record<string, readonly string[]>;

Defined in: core/src/registry.ts:65

Named lists of refs, tried in order: "conn/model", or a bare "conn" for its models. A chain can’t name another chain.


connections: Record<string, ConnectionConfig>;

Defined in: core/src/registry.ts:62


optional fallback?: Omit<FallbackOptions<Provider>, "onCooldown" | "cooldowns"> & object;

Defined in: core/src/registry.ts:71

One set for every chain, because every chain shares one cooldown store: a bench set by one is honoured by the others.

optional onCooldown?: (info) => void;
Parameter Type
info RegistryCooldownInfo

void


optional watchdog?:
| false
| WatchdogOptions;

Defined in: core/src/registry.ts:68

Every candidate’s watchdog. On by default with the package’s clocks; false turns it off. A connection’s own watchdog replaces it.