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

Optimized the instantiate of Producer #21

Closed
wants to merge 1 commit into from

Conversation

liangguifeng
Copy link

使用instantiate实例化时,无法继承到生产者父类的构造函数,导致实例化出来的类缺少参数

而消费者却可以拿到父类的构造函数写入的内容,参考了下消费者的监听写法,发现消费者使用的是make进行实例化,可以继承到父类构造函数

image

Copy link

github-actions bot commented Sep 4, 2024

Hi, this is a READ-ONLY repository, please submit your PR on the https://github.com/hyperf/hyperf repository.

This Pull Request will close automatically.

Thanks!

@github-actions github-actions bot closed this Sep 4, 2024
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

Successfully merging this pull request may close these issues.

1 participant