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

Function open

packages/platform/bun/src/BunHttpServer.ts:114–116  ·  view source on GitHub ↗
(ws)

Source from the content-addressed store, hash-verified

112 websocket: {
113 ...options.websocket,
114 open(ws) {
115 Deferred.doneUnsafe(ws.data.deferred, Exit.succeed(ws))
116 },
117 message(ws, message) {
118 ws.data.run(message)
119 },

Callers

nothing calls this directly

Calls 1

succeedMethod · 0.45

Tested by

no test coverage detected