def METHOD_NAME(self) -> None:
    # Supermassive hack that will go away later.
    listeners = sublime_plugin.view_event_listeners.get(self.view.id(), [])
    for listener in listeners:
        if listener.__class__.__name__ == 'DocumentSyncListener':
            listener.trigger_on_pre_save_async()  # type: ignore
            break