def _trigger_result_snapshot(self, result):
timestamp = result[<NUM_LIT:1>]['<STR_LIT>']<EOL>timestamp_str = repr(timestamp).replace('<STR_LIT:.>', '<STR_LIT:_>')<EOL>filename = '<STR_LIT>' % timestamp_str<EOL>extension = '<STR_LIT>'<EOL>dump_filename = os.path.join(self._resume_path, filename + extension)<EOL>dump_file = open(dump_filename, '<STR_LIT:wb>')<EOL>dill.dump(result, dump_file, protocol=<NUM_LIT:2>)<EOL>dump_file.flush()<EOL>dump_file.close()<EOL>extension = '<STR_LIT>'<EOL>rename_filename = os.path.join(self._resume_path, filename + extension)<EOL>shutil.move(dump_filename, rename_filename)<EOL>
Triggers a snapshot of the results for continuing

        :param result: Currently computed result