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

Function get

packages/ui/native/test/NativeHttpClient.test.ts:167–171  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

165 assert.include(String(failed.reason.cause), "file:///photo.jpg")
166
167 const get = (path: string) =>
168 Effect.flatMap(
169 client.get(`https://api.test${path}`),
170 (response) => response.arrayBuffer
171 )
172 assert.deepStrictEqual(
173 new Uint8Array(
174 yield* get("/bytes").pipe(

Callers 1

Calls 1

getMethod · 0.65

Tested by

no test coverage detected