// CreateChan creates chan with filter

CreateChan creates chan with filter
// CreateChan creates chan with filter
func (p *Pool) createChan(filter FilterPass) <-chan events.Event {
	ec := NewEventChan().WithFilter(filter)
	p.innerCh = append(p.innerCh, ec)
	return ec.Ch
}
func ( p * Pool ) createChan ( filter FilterPass ) <- chan events . Event { ec := NewEventChan ( ) . WithFilter ( filter ) p . innerCh = append ( p . innerCh , ec ) return ec . Ch }
CreateChan creates chan with filter
CreateChan creates chan with filter