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

Function strategyNoop

packages/effect/src/internal/pool.ts:346–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344}
345
346const strategyNoop = <A, E>(): Strategy<A, E> => ({
347 run: (_) => core.void,
348 onAcquire: (_) => core.void,
349 reclaim: (_) => coreEffect.succeedNone
350})
351
352const strategyCreationTTL = <A, E>(ttl: Duration.DurationInput) =>
353 defaultServices.clockWith((clock) =>

Callers 1

makeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…