MCPcopy Create free account
hub / github.com/contentlayerdev/contentlayer / tapSync

Function tapSync

packages/@contentlayer/utils/src/effect/Effect.ts:87–89  ·  view source on GitHub ↗
(tapFn: (a: A) => unknown)

Source from the content-addressed store, hash-verified

85
86export const tapSync =
87 <A>(tapFn: (a: A) => unknown) =>
88 <R, E>(eff: T.Effect<R, E, A>) =>
89 T.tap_(eff, (a) => T.succeedWith(() => tapFn(a)))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…