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

Function makePartitionState

packages/cluster/test/SqlRunnerStorage.test.ts:168–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166}
167
168const makePartitionState = (): PartitionState => ({
169 current: false,
170 activeQueries: 0,
171 interruptedQueries: 0,
172 reservedConnections: 0
173})
174
175const blackholeReservedConnection = (partition: PartitionState) =>
176 Layer.effect(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected