'Receiving returns from other callback, override me.'

def on_result(self, result):

    if (not result):
        return
    assert self.task, "on_result    can't    outside    a    callback."
    if self.is_debugger():
        pprint(result)
    if self.__env__.get('result_queue'):
        self.__env__['result_queue'].put((self.task, result))
