status-go/vendor/github.com/anacrolix/chansync/events/events.go

13 lines
257 B
Go
Raw Normal View History

2022-03-10 09:44:48 +00:00
package events
// Here we'll strongly-type channels to assist correct usage, if possible.
type (
Signaled <-chan struct{}
Done <-chan struct{}
Active <-chan struct{}
Signal chan<- struct{}
Acquire chan<- struct{}
Release <-chan struct{}
)