How to handle events that may block
I am using Ratchet order to create an asynchronous server for PHP, however there are many functions that block, how can I do to use these functions to occur without these locks?

Is there any library that do this and get callback function or something? I completely lost

Please show me examples, you speak in a complicated way that makes me crazy ..
