The php-resque
is a good idea of dealing with the above situation.
But now I don't want to use this method, I want to use the php
functions that don't rely on any third tools to send the http response from user at first , and then still running to finish other work.
By the way,if this method exists,how it about running in Yii2
environment?