pubsubclient/_posts/2000-06-01-setCallback.md
2020-05-21 01:17:42 +01:00

17 lines
433 B
Markdown

---
tag: api
type: function
name: setCallback
params:
- name: callback
description: a pointer to a message callback function called when a message arrives for a subscription created by this client.
type: function*
returns:
type: PubSubClient*
values:
- value: PubSubClient*
description: the client instance, allowing the function to be chained
---
Sets the <a href="#callback">message callback function</a>.