Coroutine.php Interfaces, Classes and Traits Coroutine Creates a promise that is resolved using a generator that yields values or promises (somewhat similar to C#'s async keyword).