对象上的 SendAsync

SendAsync in Rebus

我们在 Azure 服务总线上使用 Rebus。有没有办法以异步方式执行发送消息?我还没有在 Rebus 中找到类似 SendAsync 的东西。

目前,无法使用 Rebus bus.SendAsync/bus.PublishAsync 等 - 主要是因为 async/await 支持非常新,而且您是第一个提出要求的人:)

Rebus 没有理由不支持它,所以我 created an issue on GitHub 提供了该功能,如果您对可等待的发送操作感兴趣,则可能需要关注一下 :)