class_docstr: Eventloop interface.
class_docstr_tok: ["Eventloop","interface","."]
docstr: Call this function in the main event loop. Similar to Twisted's
  ``callFromThread``.
  
  :param _max_postpone_until: `None` or `time.time` value. For interal
      use. If the eventloop is saturated, consider this task to be low
      priority and postpone maximum until this timestamp. (For instance,
      repaint is done using low priority.)
  
      Note: In the past, this used to be a datetime.datetime instance,
            but apparently, executing `time.time` is more efficient: it
            does fewer system calls. (It doesn't read /etc/localtime.)
docstr_tok: ["Call","this","function","in","the","main","event","loop",".","Similar","to","Twisted's","``","callFromThread","``",".",":","param","_max_postpone_until",":","`","None","`","or","`","time.time","`","value",".","For","interal","use",".","If","the","eventloop","is","saturated",",","consider","this","task","to","be","low","priority","and","postpone","maximum","until","this","timestamp",".","(","For","instance",",","repaint","is","done","using","low","priority",".",")","Note",":","In","the","past",",","this","used","to","be","a","datetime.datetime","instance",",","but","apparently",",","executing","`","time.time","`","is","more","efficient",":","it","does","fewer","system","calls",".","(","It","does","n't","read","\/etc\/localtime",".",")"]
code: def call_from_executor(self, callback, _max_postpone_until=None):
      """
      Call this function in the main event loop. Similar to Twisted's
      ``callFromThread``.
  
      :param _max_postpone_until: `None` or `time.time` value. For interal
          use. If the eventloop is saturated, consider this task to be low
          priority and postpone maximum until this timestamp. (For instance,
          repaint is done using low priority.)
  
          Note: In the past, this used to be a datetime.datetime instance,
                but apparently, executing `time.time` is more efficient: it
                does fewer system calls. (It doesn't read /etc/localtime.)
      """
  
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 8 for calling the EventLoop obj's underlying member method code with example usage: obj.call_from_executor(callback, _max_postpone_until) without return types