(workspaceId: string, message: WorkspaceChatMessage)
| 2817 | } |
| 2818 | |
| 2819 | public emitChatEvent(workspaceId: string, message: WorkspaceChatMessage): void { |
| 2820 | const trimmed = workspaceId.trim(); |
| 2821 | assert(trimmed.length > 0, "emitChatEvent requires workspaceId"); |
| 2822 | this.sessions.get(trimmed)?.emitChatEvent(message); |
| 2823 | } |
| 2824 | |
| 2825 | public disposeSession(workspaceId: string): void { |
| 2826 | const trimmed = workspaceId.trim(); |
no test coverage detected