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

Method yieldWith

packages/effect/src/Micro.ts:585–588  ·  view source on GitHub ↗
(value: MicroExit<any, any> | (() => void))

Source from the content-addressed store, hash-verified

583 // cancel the yielded operation, or for the yielded exit value
584 _yielded: MicroExit<any, any> | (() => void) | undefined = undefined
585 yieldWith(value: MicroExit<any, any> | (() => void)): Yield {
586 this._yielded = value
587 return Yield
588 }
589
590 children(): Set<MicroFiber<any, any>> {
591 return this._children ??= new Set()

Callers 1

evalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected