func (p *Pool) WaitChan() chan struct{} {
	notify := make(chan struct{}, 1)

	go func() {
		p.Wait()

		notify <- struct{}{}
	}()

	return notify
}
// WaitChan returns a channel that can be used to wait for a response to a
// channel.
WaitChan returns a channel that can be used to wait for a response to a
channel.
// WaitChan returns a channel that can be used to wait for a response to a // channel .
func (p *Pool) WaitChan() chan struct{} {
	notify := make(chan struct{}, 1)
	go func() {
		p.Wait()
		notify <- struct{}{}
	}()
	return notify
}
func ( p * Pool ) WaitChan ( ) chan struct { } { notify := make ( chan struct { } , 1 ) go func ( ) { p . Wait ( ) notify <- struct { } { } } ( ) return notify }
WaitChan returns a channel that can be used to wait for a response to a
channel.
WaitChan returns a channel that can be used to wait for a response to a channel .