MCPcopy Create free account
hub / github.com/anomalyco/opencode / runLocalEffect

Function runLocalEffect

packages/opencode/src/cli/cmd/github.handler.ts:384–385  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E>)

Source from the content-addressed store, hash-verified

382 const sessionPrompt = yield* SessionPrompt.Service
383 const events = yield* EventV2Bridge.Service
384 const runLocalEffect = <A, E>(effect: Effect.Effect<A, E>) =>
385 Effect.runPromise(effect.pipe(Effect.provideService(InstanceRef, ctx)))
386 yield* Effect.promise(async () => {
387 const isMock = args.token || args.event
388

Callers 3

github.handler.tsFile · 0.70
subscribeSessionEventsFunction · 0.70
chatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected