In orgmode, it is quite useful to view the equations inline. However, sometimes this can take a while to execute. Running
org-toggle-latex-fragment asynchronously would be quite useful. However, most of what I can find about async is about how to execute external commands in an async way. I did try this post (https://emacspeak.blogspot.com/2018/07/using-emacs-threads-to-execute-commands.html?m=1) and emacs-aio (https://github.com/skeeto/emacs-aio) but it did not quite work/ I could not get it to work.
Please let me know if anyone here knows how to execute this function in an async way.
Thank you for your response!