MCPcopy Index your code
hub / github.com/anomalyco/opencode / call

Function call

packages/opencode/test/server/httpapi-sdk.test.ts:111–113  ·  view source on GitHub ↗
(request: () => Promise<T>)

Source from the content-addressed store, hash-verified

109}
110
111function call<T>(request: () => Promise<T>) {
112 return Effect.promise(request)
113}
114
115function capture(request: () => Promise<SdkResult>) {
116 return call(request).pipe(

Callers 5

captureFunction · 0.70
captureThrownFunction · 0.70
expectStatusFunction · 0.70
firstEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected