Channel

Noun · Development

Definitions

  1. A typed conduit through which goroutines or concurrent processes can send and receive values, providing synchronized communication without explicit locks. Central to Go's concurrency model and CSP-style programming.

    In plain English: A pipe that lets different parts of a program safely pass data to each other without stepping on each other's toes.

    Example: "Don't communicate by sharing memory; share memory by communicating — that's what channels are for."

Related Terms