Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Johnzero opened this issue Jun 22, 2020 · 1 comment
Open

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

Johnzero opened this issue Jun 22, 2020 · 1 comment

Comments

@Johnzero
Copy link

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

@huang-yi
Copy link
Owner

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants