Home / Type/ NormalizedHotChannelClient Type — vite Architecture

NormalizedHotChannelClient Type — vite Architecture

Architecture documentation for the NormalizedHotChannelClient type/interface in hmr.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  f787c9f6_73f0_9da8_98fc_e766cf9bfafe["NormalizedHotChannelClient"]
  18db4f26_79f1_5b7d_b291_4feeaf95538f["hmr.ts"]
  f787c9f6_73f0_9da8_98fc_e766cf9bfafe -->|defined in| 18db4f26_79f1_5b7d_b291_4feeaf95538f
  style f787c9f6_73f0_9da8_98fc_e766cf9bfafe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/server/hmr.ts lines 118–127

export interface NormalizedHotChannelClient {
  /**
   * Send event to the client
   */
  send(payload: HotPayload): void
  /**
   * Send custom event
   */
  send(event: string, payload?: CustomPayload['data']): void
}

Frequently Asked Questions

What is the NormalizedHotChannelClient type?
NormalizedHotChannelClient is a type/interface in the vite codebase, defined in packages/vite/src/node/server/hmr.ts.
Where is NormalizedHotChannelClient defined?
NormalizedHotChannelClient is defined in packages/vite/src/node/server/hmr.ts at line 118.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free