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

Function fn

packages/effect/src/unstable/reactivity/Atom.ts:1164–1169  ·  view source on GitHub ↗
(...args: ReadonlyArray<any>)

Source from the content-addressed store, hash-verified

1162 readonly concurrent?: boolean | undefined
1163 }): AtomResultFn<Arg, A, E | Cause.NoSuchElementError>
1164} = function(...args: ReadonlyArray<any>) {
1165 if (args.length === 0) {
1166 return makeFn
1167 }
1168 return makeFn(...args as [any, any]) as any
1169}
1170
1171const makeFn = <Arg, E, A>(
1172 f: (arg: Arg, get: FnContext) => Stream.Stream<A, E, AtomRegistry> | Effect.Effect<A, E, Scope.Scope | AtomRegistry>,

Callers 6

Atom.tsFile · 0.70
Effect.tsFile · 0.50
withVisitedTrackingFunction · 0.50
withVisitedTrackingFunction · 0.50
asHttpEffectFunction · 0.50
RpcClient.tsFile · 0.50

Calls 1

makeFnFunction · 0.70

Tested by

no test coverage detected