Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
To state that broker heartbeat is on publish event and client will be null
  • Loading branch information
gnought committed Jul 2, 2019
1 parent 4f58599 commit eacd61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -126,7 +126,7 @@ Events:
* `publish`: when a new packet is published, arguments:
1. `packet`
2. `client`, it will be null if the message is published using
[`publish`](#publish).
[`publish`](#publish). It is by design that the broker heartbeat will be on publish event, in this case `client` is null
* `ack`: when a packet published to a client is delivered successfully with QoS 1 or QoS 2, arguments:
1. `packet`
2. `client`
Expand Down

0 comments on commit eacd61f

Please sign in to comment.