Progress Reporting

In [2]:
def messages = ["starting",
                "started",
                "begin",
                "middle",
                "about to finish"];

for ( int i = 0 ; i<5; i++) {
  beakerx.showProgressUpdate(messages[i], i*20)
  sleep(1000)
}
sleep(1000)
"finished"
Out[2]:
finished
In [3]:
def messages = ["starting",
                "started",
                "begin",
                "middle",
                "about to finish"];

for ( int i = 0 ; i<5; i++) {
  beakerx.showProgressUpdate(messages[i], i*20)
  sleep(150)
}
sleep(1000)
"finished"
Out[3]:
finished
In [ ]: