Download the PHP package dtyq/async-event without Composer
On this page you can find all versions of the php package dtyq/async-event. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package async-event
异步事件
- 事件将会放到一个协程中,然后按照顺序执行
- 核心代码为
\Dtyq\AsyncEvent\AsyncEventDispatcher::dispatch
安装
-
安装
-
发布配置
- 运行数据库迁移
使用方式
- 为了不影响原有逻辑,采用新的dispatcher即可
demo
- 达到最大执行次数,可以进行消息提醒,但是需要自己增加配置,本项目仅提供达到最大重试事件
注意事项
- 事件中尽量不要使用协程上下文来传递数据,因为事件是异步的,可能会导致数据不一致
All versions of async-event with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-json Version *
hyperf/db-connection Version *
hyperf/di Version *
hyperf/event Version *
hyperf/framework Version *
hyperf/logger Version *
hyperf/crontab Version *
hyperf/config Version *
hyperf/redis Version *
hyperf/snowflake Version *
ext-json Version *
hyperf/db-connection Version *
hyperf/di Version *
hyperf/event Version *
hyperf/framework Version *
hyperf/logger Version *
hyperf/crontab Version *
hyperf/config Version *
hyperf/redis Version *
hyperf/snowflake Version *
The package dtyq/async-event contains the following files
Loading the files please wait ....