MCPcopy
hub / github.com/Effect-TS/effect / identity

Function identity

packages/effect/src/internal/schedule.ts:854–862  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

852
853/** @internal */
854export const identity = <A>(): Schedule.Schedule<A, A> =>
855 makeWithState(void 0, (now, input, state) =>
856 core.succeed(
857 [
858 state,
859 input,
860 ScheduleDecision.continueWith(Interval.after(now))
861 ] as const
862 ))
863
864/** @internal */
865export const intersect = dual<

Callers 15

makeFunction · 0.85
makeMemoryFunction · 0.85
makeFunction · 0.85
makeFunction · 0.85
makeFunction · 0.85
makeFunction · 0.85
makeSerializedFunction · 0.85
makeFunction · 0.85
makeFunction · 0.85
RpcServer.tsFile · 0.85
LayerMap.tsFile · 0.85
collectAllInputsFunction · 0.85

Calls 1

makeWithStateFunction · 0.85

Tested by

no test coverage detected