org-babel-comint-wait-for-output
org-babel-comint-wait-for-output is a compiled Lisp function in `ob-comint.el
'.
(org-babel-comint-wait-for-output BUFFER)
Wait until output arrives from BUFFER.
Note: this is only safe when waiting for the result of a single
statement (not large blocks of code).