(connection: Connection, message: M)
| 49 | |
| 50 | // a small typesafe wrapper around connection.send |
| 51 | sendMessage<M extends ServerMessage>(connection: Connection, message: M) { |
| 52 | connection.send(JSON.stringify(message)) |
| 53 | } |
| 54 | |
| 55 | async onStart(): Promise<void> { |
| 56 | const meetingId = await this.getMeetingId() |