title: Use ExecutorService or Similar to Queue Tasks to be Completed in Order?
body: <p>Let's say I have three tasks: download .zip from internet, unzip file, then swap out a local file with the unzipped file. I can't block the main thread, as it's being used by the server, but I need these three tasks to complete in order. Is there a way to use ExecutorService or something similar to queue these tasks so that one completes after the other without blocking on the main thread?</p>