<to...@tuxteam.de> writes: >> Doing everything asynchronously is not always desired. >> Consider, for example, >> >> #+begin_src bash >> echo "Contents" > /tmp/tmpfile >> #+end_src bash >> >> #+begin_src bash >> cat /tmp/tmpfile # I must run after /tmp/tmpfile is created! >> #+end_src > > You "just" [1] need a way of stating dependencies :-) > > Cheers > > [1] In quotes, because this opens a vast space of interesting > and strange worlds. The functional folks have their monads, > the compiler backend builders have their dependency graphs. > Definitely doable, but treading with care will be helpful > to not step into a mess :-)
Let's not jump into this rabbit hole yet before we have async code working for less complicated scenarios. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>