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