'Call flush() on all plugins so they write their data to the external
file(s) / socket(s) if they want to. This is useful when the scan
takes a lot of time to complete.
By default output plugins have a no-op implementation for flush(), but
plugins like xml_file and csv_file will write to the user configured
files when called.
Only flush once every FLUSH_TIMEOUT seconds.
:see: https://github.com/andresriancho/w3af/issues/6726
:return: None'

def flush_plugin_output(self):

    if (not self.should_flush()):
        return
    self.update_last_output_flush()
    for o_plugin in self._output_plugin_instances:
        o_plugin.flush()
