Skip to content

hihozhou/tasker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tasker

Tasker -php 程序异步处理类,实现原理是使用pcntl_fork()创建子进程去实现耗时不需要返回的任务

Use example

require_once "src/AsyncTask.php";
//master task start.
AsyncTask::run(function ()
{
    //asynchronous task
    //do something...
    sleep(10);
});
//master task end.

About

PHP application asynchronous task class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages