Promises, generators, and tasks examples.