subscribe method
ReqSubscribeListener
subscribe(
- String path,
- dynamic callback(
- ValueUpdate update
- int qos = 0
Implementation
ReqSubscribeListener subscribe(
String path,
Function(ValueUpdate update) callback, [
int qos = 0,
]) {
var node = nodeCache.getRemoteNode(path);
node._subscribe(this, callback, qos);
return ReqSubscribeListener(this, path, callback);
}