def findIoByMetainfo(metainfo)
      @ioInfo.each_value do |info|
        if info.metainfo == metainfo
          io = info.readFiberIoFacade
          # Don't allow read calls from timer handlers. This is to prevent a complex situation.
          # See the processTimer call in eventLoopBody for more info
          io = WriteOnlyIoFacade.new(info) if @currentHandlerCallback == :timer
          return io
        end
      end
      nil
    end
def findIoByMetainfo(metainfo)
      @ioInfo.each_value do |info|
        if info.metainfo == metainfo
          io = info.readFiberIoFacade
          # Don't allow read calls from timer handlers. This is to prevent a complex situation.
          # See the processTimer call in eventLoopBody for more info
          io = WriteOnlyIoFacade.new(info) if @currentHandlerCallback == :timer
          return io
        end
      end
      nil
    end
Meant to be called from the handler. Find an IO by metainfo. The == operator is used to
 match the metainfo.