doorman:子流程管理

时间:2021-05-13 01:44:02
【文件属性】:
文件名称:doorman:子流程管理
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-13 01:44:02
PHP 门卫 子流程管理。 从PHP 5.3到PHP 7兼容。 不需要扩展。 2.x支持PHP 5.5.9及更高版本。 如果需要PHP 5.3/4支持,请使用1.x版本。 用法 use AsyncPHP \ Doorman \ Manager \ ProcessManager ; use AsyncPHP \ Doorman \ Task \ ProcessCallbackTask ; $ task1 = new ProcessCallbackTask ( function () { print "in task 1" ; }); $ task2 = new ProcessCallbackTask ( function () { print "in task 2" ; }); $ manager = new ProcessManager (); $ manager -> ad
【文件预览】:
doorman-3
----composer.json(475B)
----bin()
--------worker.php(701B)
----.scrutinizer.yml(162B)
----readme.md(3KB)
----code-of-conduct.md(2KB)
----src()
--------Shell.php(286B)
--------Manager()
--------Manager.php(409B)
--------Handler.php(169B)
--------Shell()
--------Rule()
--------Rules.php(630B)
--------Handler()
--------Task()
--------Task.php(869B)
--------Rules()
--------Profile.php(1KB)
--------Cancellable.php(186B)
--------Profile()
--------Process.php(198B)
--------Rule.php(1KB)
--------Expires.php(464B)
----license.md(1KB)
----contributing.md(189B)

网友评论