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

2.x rc版本同步发布队列任务返回异常 #18

Closed
eriodesign opened this issue Nov 17, 2023 · 2 comments
Closed

2.x rc版本同步发布队列任务返回异常 #18

eriodesign opened this issue Nov 17, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@eriodesign
Copy link

2.0beta-rc2版本
sync_publish方法执行后提示错误:
Error: Call to a member function then() on bool in ~/x/vendor/workbunny/webman-rabbitmq/src/Connection.php:204

同步方法应该返回的是布尔值不是PromiseInterface,所以不可以继续链式执行->then等promise相关操作了。

如果是用法不对请有空指正,感谢

@chaz6chez
Copy link
Member

好的,我修复一下

@chaz6chez chaz6chez added the bug Something isn't working label Nov 19, 2023
@chaz6chez
Copy link
Member

已发布beta.3,可以尝试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants