use WithoutCancel interface w/ Pop(nil)
This commit is contained in:
@@ -102,4 +102,5 @@ type UniqueDeadlined interface {
|
||||
Deadlined
|
||||
}
|
||||
|
||||
// WithoutCancel returns a chan that may never be closed and always blocks
|
||||
func WithoutCancel() <-chan struct{} { return nil }
|
||||
|
Reference in New Issue
Block a user