docstr: Schedule a call to handle_events next loop iteration
  
  If there are still events to handle.
docstr_tok: ["Schedule","a","call","to","handle_events","next","loop","iteration","If","there","are","still","events","to","handle","."]
code: def _schedule_remaining_events(self, events=None):
      """Schedule a call to handle_events next loop iteration
  
      If there are still events to handle.
      """
      # edge-triggered handling
      # allow passing events in, in case this is triggered by retrieving events,
      # so we don't have to retrieve it twice.
      if self._state == 0:
          # not watching for anything, nothing to schedule
          return
      if events is None:
          events = self._shadow_sock.get(EVENTS)
      if events & self._state:
          self._call_later(0, self._handle_events)
  
imports: from collections import namedtuple, deque
  from itertools import chain
  from zmq import EVENTS, POLLOUT, POLLIN
  import zmq
label_desc: Use image node_id 19 for calling the _AsyncSocket obj's underlying member method code with example usage: obj._schedule_remaining_events(events) without return types