bytebeamio / rumqtt

The MQTT ecosystem in rust
Apache License 2.0
1.65k stars 255 forks source link

WIP: publish / subscribe / unsubscribe methods return a promise that resolves once message is sent (with respective QoS) #883

Closed FSMaxB closed 1 month ago

FSMaxB commented 5 months ago

Type of change

Checklist:

Explanation

This is the acked branch by @de-sh rebased onto main (as of now, it might fall behind over time).

The biggest issue with rebasing was a conflict with the FixedBitset change such that I had to remove some of them. I have some ideas on how a different API could change that though. I'll elaborate in #805.