Is there a way to check programmatically whether the FrontEnd considers evaluation still running? Or even better: is there a way to check whether the FrontEnd has some pending inputs to be sent to the kernel?
P.S. This question has arisen from previous question.
EDIT
When evaluating a Cell in the FrontEnd we usually create a queue of inputs for the kernel.
I need a function that will return True
if the FrontEnd has sent to the kernel the last input of the queue of inputs from the EvaluationNotebook[]
. Or in other words I need a function that returns True
if this current input is the last input of the queue of inputs generated by the FrontEnd.
Developer`CellInformation
! But isn't it too expensive to run a separate kernel for such a tiny task? – Advance