MCPcopy Create free account
hub / github.com/anomalyco/opencode / json

Function json

packages/opencode/test/server/project-init-git.test.ts:34–36  ·  view source on GitHub ↗
(response: HttpClientResponse.HttpClientResponse)

Source from the content-addressed store, hash-verified

32}
33
34function json<T>(response: HttpClientResponse.HttpClientResponse) {
35 return response.json.pipe(Effect.map((value) => value as T))
36}
37
38function collectGlobalEvents() {
39 return Effect.acquireRelease(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected