MCPcopy Create free account
hub / github.com/cloudflare/meet / constructor

Method constructor

app/durableObjects/ChatRoom.server.ts:44–48  ·  view source on GitHub ↗
(ctx: DurableObjectState, env: Env)

Source from the content-addressed store, hash-verified

42 // static options = { hibernate: true }
43
44 constructor(ctx: DurableObjectState, env: Env) {
45 super(ctx, env)
46 this.env = env
47 this.db = getDb(this)
48 }
49
50 // a small typesafe wrapper around connection.send
51 sendMessage<M extends ServerMessage>(connection: Connection, message: M) {

Callers

nothing calls this directly

Calls 1

getDbFunction · 0.90

Tested by

no test coverage detected