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

Function run

packages/effect/src/FiberMap.ts:779–787  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

777 } | undefined
778 ): Effect.Effect<Fiber.Fiber<XA, XE>, never, R>
779} = function() {
780 const self = arguments[0]
781 if (Effect.isEffect(arguments[2])) {
782 return runImpl(self, arguments[1], arguments[2], arguments[3]) as any
783 }
784 const key = arguments[1]
785 const options = arguments[2]
786 return (effect: Effect.Effect<any, any, any>) => runImpl(self, key, effect, options)
787}
788
789const runImpl = <K, A, E, R, XE extends E, XA extends A>(
790 self: FiberMap<K, A, E>,

Callers

nothing calls this directly

Calls 1

runImplFunction · 0.70

Tested by

no test coverage detected