← Về thư mục
frontend/src/features/ws/handlers.ts
- setLoadSessionsImpl · function · L33-L35 — function setLoadSessionsImpl(fn: (() => void | Promise) | null): void
- setLoadArtifactsImpl · function · L38-L42 — function setLoadArtifactsImpl( fn: ((id: string) => void | Promise) | null, ): void
- setFrameUpdateTurnHandler · function · L48-L50 — function setFrameUpdateTurnHandler(handler: WsHandler | null): void
- setArtifactCreatedSideEffects · function · L56-L58 — function setArtifactCreatedSideEffects(handler: WsHandler | null): void
- scheduleLoadSessions · function · L60-L67 — function scheduleLoadSessions(): void
- scheduleLoadArtifacts · function · L69-L77 — function scheduleLoadArtifacts(): void
- clearWsDebouncers · function · L79-L88 — function clearWsDebouncers(): void
- patchSessionFromFrameUpdate · function · L91-L110 — function patchSessionFromFrameUpdate(m: WsMessage): void
- artifactPayload · function · L112-L116 — function artifactPayload(m: WsMessage): Record
- upsertArtifactFromEvent · function · L122-L159 — function upsertArtifactFromEvent(m: WsMessage): Record | null
- handleReplayBegin · function · L161-L182 — function handleReplayBegin(m: WsMessage): void
- handleReplayEnd · function · L185-L210 — function handleReplayEnd(m: WsMessage): void
- handleFrameUpdate · function · L212-L219 — function handleFrameUpdate(m: WsMessage): void
- handleArtifactCreated · function · L221-L225 — function handleArtifactCreated(m: WsMessage): void
- registerUnlessPresent · function · L227-L229 — function registerUnlessPresent(type: string, handler: WsHandler): void
- registerBuiltinHandlers · function · L231-L236 — function registerBuiltinHandlers(): void