events.go 257 B

123456789101112
  1. package events
  2. // Here we'll strongly-type channels to assist correct usage, if possible.
  3. type (
  4. Signaled <-chan struct{}
  5. Done <-chan struct{}
  6. Active <-chan struct{}
  7. Signal chan<- struct{}
  8. Acquire chan<- struct{}
  9. Release <-chan struct{}
  10. )