Make |this| inside the generator be the Task