Cooperative Multitasking With Generators

Cooperative Multitasking With Generators

Have you ever used the yield keyword? It's the hidden-wardrobe-entrance into a magical world of generators. This magical world is inhabited by beings called iterators and coroutines. Roll some epic battle-music...

In this talk we'll explore the origins of PHP generators, using them for iteration and ultimately how they can help turn synchronous code into asynchronous code.

061e3bae4ce4234a2194d20a382e5d19?s=128

Christopher Pitt

October 22, 2015
Tweet