MCPcopy
hub / github.com/Effect-TS/effect / body

Method body

packages/effect/src/internal/fiberRuntime.ts:799–808  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

797 this._children = null
798 let isDone = false
799 const body = () => {
800 const next = it.next()
801 if (!next.done) {
802 return core.asVoid(next.value.await)
803 } else {
804 return core.sync(() => {
805 isDone = true
806 })
807 }
808 }
809 return core.whileLoop({
810 while: () => !isDone,
811 body,

Callers 4

contAFunction · 0.80
evalFunction · 0.80
core-effect.tsFile · 0.80
otlpExporter.tsFile · 0.80

Calls 2

syncMethod · 0.80
nextMethod · 0.65

Tested by

no test coverage detected