class_docstr: Socket returning asyncio Futures for send/recv/poll methods.
docstr: initialize the ioloop event handler
docstr_tok: ["initialize","the","ioloop","event","handler"]
code: def _init_io_state(self, io_loop=None):
      """initialize the ioloop event handler"""
      self._get_selector(io_loop).add_reader(
          self._fd, lambda: self._handle_events(0, 0)
      )
  
imports: import asyncio
  import selectors
  import sys
  import warnings
  from asyncio import Future, SelectorEventLoop
  from weakref import WeakKeyDictionary
  import zmq
  from zmq import _future
label_desc: Use image node_id 2 for calling the Socket obj's underlying member method code with example usage: obj._init_io_state(io_loop) without return types