class_docstr: Event loop for Windows systems.
  
  :param recognize_paste: When True, try to discover paste actions and turn
      the event into a BracketedPaste.
class_docstr_tok: ["Event","loop","for","Windows","systems",".",":","param","recognize_paste",":","When","True",",","try","to","discover","paste","actions","and","turn","the","event","into","a","BracketedPaste","."]
docstr: Run a long running function in a background thread.
  (This is recommended for code that could block the event loop.)
  Similar to Twisted's ``deferToThread``.
docstr_tok: ["Run","a","long","running","function","in","a","background","thread",".","(","This","is","recommended","for","code","that","could","block","the","event","loop",".",")","Similar","to","Twisted","'s","``","deferToThread","``","."]
code: def run_in_executor(self, callback):
      """
      Run a long running function in a background thread.
      (This is recommended for code that could block the event loop.)
      Similar to Twisted's ``deferToThread``.
      """
  
      # Wait until the main thread is idle for an instant before starting the
      # executor. (Like in eventloop/posix.py, we start the executor using
      # `call_from_executor`.)
      def start_executor():
          threading.Thread(target=callback).start()
  
      self.call_from_executor(start_executor)
  
imports: from __future__ import unicode_literals
  from ..terminal.win32_input import ConsoleInputReader
  from ..win32_types import SECURITY_ATTRIBUTES
  from .base import EventLoop, INPUT_TIMEOUT
  from .inputhook import InputHookContext
  from .utils import TimeIt
  from ctypes import windll, pointer
  from ctypes.wintypes import DWORD, BOOL, HANDLE
  import msvcrt
  import threading
label_desc: Use image node_id 6 for calling the Win32EventLoop obj's underlying member method code with example usage: obj.run_in_executor(callback) without return types