Function
getCompactionClient
(client: EventLogRemoteClient["Service"])
Source from the content-addressed store, hash-verified
| 260 | type CompactionClient = RpcClient.RpcClient<RpcGroup.Rpcs<typeof EventLogCompactionRpcs>, RpcClientError> |
| 261 | |
| 262 | const 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 |
Tested by
no test coverage detected