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

Function strategyNoop

packages/effect/src/Pool.ts:613–617  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

611// -----------------------------------------------------------------------------
612
613const strategyNoop = <A, E>(): Strategy<A, E> => ({
614 run: (_) => Effect.void,
615 onAcquire: (_) => Effect.void,
616 reclaim: (_) => Effect.undefined
617})
618
619const strategyCreationTTL = Effect.fnUntraced(function*<A, E>(ttl: Duration.Input) {
620 const clock = yield* Clock

Callers 1

makeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected