Avoid "callback hell" by using continuously invoked generators.