MCPcopy Index your code
hub / github.com/Effect-TS/effect / executeEffect

Function executeEffect

packages/platform/src/internal/worker.ts:202–207  ·  view source on GitHub ↗
(request: I)

Source from the content-addressed store, hash-verified

200 )
201
202 const executeEffect = (request: I) =>
203 Effect.acquireUseRelease(
204 executeAcquire(request, Deferred.make<O, WorkerError | E>()),
205 ({ mailbox }) => Deferred.await(mailbox),
206 executeRelease
207 )
208
209 yield* Deferred.await(readyLatch)
210

Callers

nothing calls this directly

Calls 4

executeAcquireFunction · 0.85
decodeMethod · 0.80
makeMethod · 0.65
awaitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…