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

Function accept

packages/platform/deno/test/DenoSocketServer.test.ts:49–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 return {
48 addr: { transport: "tcp", hostname: "127.0.0.1", port: 1 },
49 accept() {
50 Deferred.doneUnsafe(called[index], Exit.void)
51 return accepts[index++]!()
52 },
53 close() {},
54 ref() {},
55 unref() {},

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected