MCPcopy Create free account
hub / github.com/goinaction/code / semaphore

TypeAlias semaphore

chapter7/patterns/semaphore/semaphore.go:22–22  ·  view source on GitHub ↗

semaphore type represents a channel that implements the semaphore pattern.

Source from the content-addressed store, hash-verified

20type (
21 // semaphore type represents a channel that implements the semaphore pattern.
22 semaphore chan struct{}
23)
24
25type (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected