func New(c *Config) (Poller, error) {
	cfg := c.withDefaults()
	epoll, err := EpollCreate(&EpollConfig{
		OnWaitError: cfg.OnWaitError,
	})
	if err != nil {
		return nil, err
	}
	return poller{epoll}, nil
}
New creates new epoll-based Poller instance with given config.
package netpoll