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

Method render

packages/effect/src/unstable/reactivity/AsyncResult.ts:906–913  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

904 }
905
906 render(): Out | null {
907 if (Option.isSome(this.output)) {
908 return this.output.value
909 } else if (isFailure(this.result)) {
910 throw Cause.squash(this.result.cause)
911 }
912 return null
913 }
914
915 exhaustive(): Out {
916 return this.render() as Out

Callers 2

exhaustiveMethod · 0.95
Prompt.tsFile · 0.80

Calls 1

isFailureFunction · 0.70

Tested by

no test coverage detected