Running an application returns a job object, which allows you to monitor progress and save results.
Read more about jobs here.
By default, calling the function .cli() blocks until the application is finished.
You can pass the keyword argument blocking=False to return immediately.
For example the code below will print "in_progress".