Progress Reporting

In [ ]:
for ( int i = 0 ; i<100; i++) {
  beakerx.showProgressUpdate("", i)
  sleep(100)
}
"finished"
In [ ]:
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"