parameters: (handler, delay)
return_statement: return _FLUSH_THREAD.submit(handler.flush, delay)
docstring: Adds 'handler' to the queue so that it is flushed after 'delay'
      seconds by the flush thread.
  
      Returns the scheduled event which may be used for later cancellation
      (see cancel()).
docstring_summary: Adds 'handler' to the queue so that it is flushed after 'delay'
      seconds by the flush thread.
docstring_tokens: Adds handler to the queue so that it is flushed after delay seconds by the flush thread .
function: def flush_after(handler, delay):
      """
      Adds 'handler' to the queue so that it is flushed after 'delay'
      seconds by the flush thread.
  
      Returns the scheduled event which may be used for later cancellation
      (see cancel()).
      """
  
      if not isinstance(handler, logging.Handler):
          raise TypeError("handler must be a logging.Handler instance")
  
      return _FLUSH_THREAD.submit(handler.flush, delay)
function_tokens: def flush_after ( handler , delay ) : if not isinstance ( handler , logging . Handler ) : raise TypeError ( "handler must be a logging.Handler instance" ) return _FLUSH_THREAD . submit ( handler . flush , delay )