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

Function emit

packages/effect/src/internal/executionPlan.ts:34–34  ·  view source on GitHub ↗
(event: Api.Event<any>)

Source from the content-addressed store, hash-verified

32 let lastStepIndex = -1
33 let stepAttempt = 0
34 const emit = (event: Api.Event<any>) => effect.ignoreCause(onEvent(event))
35 return {
36 begin: effect.clockWith((clock) =>
37 effect.suspend(() => {

Callers 1

makeEventEmitterFunction · 0.70

Calls 1

onEventFunction · 0.50

Tested by

no test coverage detected