shadowfax icon indicating copy to clipboard operation
shadowfax copied to clipboard

Event::fire('backend.menu.extendItems', [$this]);

Open Johnzero opened this issue 4 years ago • 1 comments

Event 事件如何在协程总使用?Event::listen('backend.menu.extendItems'), 无法触发事件。

Johnzero avatar Jun 22 '20 03:06 Johnzero

Event的触发就是普通的同步代码,在协程中使用并没有什么需要特殊注意的。

你没有给出代码的上下文,无法给你更多的帮助了。

huang-yi avatar Jun 24 '20 08:06 huang-yi