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

Function contA

packages/effect/src/Micro.ts:1237–1242  ·  view source on GitHub ↗
(value, fiber)

Source from the content-addressed store, hash-verified

1235) => Micro<any, any, any> = makePrimitive({
1236 op: "Iterator",
1237 contA(value, fiber) {
1238 const state = this[args].next(value)
1239 if (state.done) return succeed(state.value)
1240 fiber._stack.push(this)
1241 return yieldWrapGet(state.value)
1242 },
1243 eval(this: any, fiber: MicroFiberImpl) {
1244 return this[successCont](undefined, fiber)
1245 }

Callers

nothing calls this directly

Calls 5

yieldWrapGetFunction · 0.85
bodyMethod · 0.80
nextMethod · 0.65
stepMethod · 0.65
succeedFunction · 0.50

Tested by

no test coverage detected