Using uv_async to handle events from yapi.  Needs work.