class_docstr: Eventloop interface.
class_docstr_tok: ["Eventloop","interface","."]
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``.
      """
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/eventloop/base.py
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from six import with_metaclass
label_desc: Use image node_id 7 for calling the EventLoop obj's underlying member method code with example usage: obj.run_in_executor(callback) without return types