forked from boostorg/mqtt5
async_run
Reviewers: ivica Reviewed By: ivica Subscribers: korina Differential Revision: https://repo.mireo.local/D27342
This commit is contained in:
@@ -107,7 +107,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
c.credentials("test-client", "username", "password")
|
||||
.brokers("mqtt.broker", 1883)
|
||||
.run();
|
||||
.async_run(asio::detached);
|
||||
|
||||
run_with_callbacks(c);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user