'Register the async pool with the current event loop.'

def register_with_event_loop(self, hub):

    self._result_handler.register_with_event_loop(hub)
    self.handle_result_event = self._result_handler.handle_event
    self._create_timelimit_handlers(hub)
    self._create_process_handlers(hub)
    self._create_write_handlers(hub)
    [self._track_child_process(w, hub) for w in self._pool]
    [hub.add_reader(fd, self.handle_result_event, fd) for fd in self._fileno_to_outq]
    for (handler, interval) in items(self.timers):
        hub.call_repeatedly(interval, handler)
    hub.on_tick.add(self.on_poll_start)
