__nexus_ide_figure_poll__
plot · scripts/plot/util/__nexus_ide_figure_poll__.m
Read IDE request events for this process (nexus#1491 figure ops;
nexus#2357 app run/stop) and apply them. NEXUS_IDE_REQUEST is either a
directory of *.json files (one event each; a file is removed after it is
handled) or a text file of one JSON object per line. A partial last line
is left in the file. A line that does not apply is dropped, not retried,
so drawnow cannot get stuck on it. Nothing happens when the variable is
unset. Bodies with "op" go to the figure apply path; bodies with only
"t" (ide:run_trigger / ide:run_stop) go to the app dispatcher.