Introduction

This is a step-by-step tutorial of await-generator for newcomers with only basic PHP knowledge.

await-generator plays tricks on a PHP feature called "generator". It allows you to write code more easily in a style called "asynchronous".

This tutorial involves concepts from PocketMine-MP, a server software for Minecraft written in PHP. The target audience is plugin developers for PocketMine-MP.