code: private EventLoopResources eventLoopResources(EventLoop eventLoop) {
      EventLoopResources resources = eventLoopResources.get();
      if (resources == null) {
        resources = new EventLoopResources(eventLoop);
        eventLoopResources.set(resources);
      }
      return resources;
    }
docs: ////////////////// EVERYTHING BELOW ONLY HAPPENS IN SAME EVENTLOOP //////////////////