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

Function identity

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

Source from the content-addressed store, hash-verified

860
861/** @internal */
862export const identity = <A>(): Schedule.Schedule<A, A> =>
863 makeWithState(void 0, (now, input, state) =>
864 core.succeed(
865 [
866 state,
867 input,
868 ScheduleDecision.continueWith(Interval.after(now))
869 ] as const
870 ))
871
872/** @internal */
873export 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