MCPcopy Create free account
hub / github.com/Effect-TS/effect / getCompactionClient

Function getCompactionClient

packages/effect/src/eventlog/EventLogRemote.ts:262–263  ·  view source on GitHub ↗
(client: EventLogRemoteClient["Service"])

Source from the content-addressed store, hash-verified

260type CompactionClient = RpcClient.RpcClient<RpcGroup.Rpcs<typeof EventLogCompactionRpcs>, RpcClientError>
261
262const getCompactionClient = (client: EventLogRemoteClient["Service"]): CompactionClient | undefined =>
263 client["EventLog.CompactionStatus"] === undefined ? undefined : client as CompactionClient
264
265/**
266 * Creates an `EventLogRemote` from custom write encoding and change decoding

Callers 1

EventLogRemote.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected