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

Function rawStream

packages/platform/node-shared/benchmark/Socket.ts:264–267  ·  view source on GitHub ↗
(client: RawClient)

Source from the content-addressed store, hash-verified

262const socketWsEcho = await webSocketSocketClient(wsEchoUrl)
263
264const rawStream = (client: RawClient) => async () => {
265 await client.write(request)
266 await client.read(streamBytes)
267}
268
269const rawPingPong = (client: RawClient) => async () => {
270 for (let i = 0; i < pingPongCount; i++) {

Callers 1

Socket.tsFile · 0.85

Calls 2

writeMethod · 0.65
readMethod · 0.65

Tested by

no test coverage detected