A synchronized event-driven library based on coroutine.