dotnet / dotnet/MQTTnet

ManagedMqttClient.SubscribeAsync With delay

Open
#1,573 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
5.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

await managedMqttClient.SubscribeAsync(topic);
await managedMqttClient.EnqueueAsync(message);

causes SubscribeAsync to execute after EnqueueAsync [
![image](https://user-images.githubusercontent.com/19769302/202062402-5ff40220-d3cf-49fb-a649-343215c8f3fd.png)
](url)

应该要先执行订阅,后执行推送消息的

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.