MCPcopy
hub / github.com/grpc/grpc-go / NewEvent

Function NewEvent

internal/grpcsync/event.go:56–58  ·  view source on GitHub ↗

NewEvent returns a new, ready-to-use Event.

()

Source from the content-addressed store, hash-verified

54
55// NewEvent returns a new, ready-to-use Event.
56func NewEvent() *Event {
57 return &Event{c: make(chan struct{})}
58}

Calls

no outgoing calls