- @override
This is called when this node is invoked. You can return the following types from this method:
IterableMapTableStreamSimpleTableResultAsyncTableResult
You can also return a future that resolves to one (like if the method is async) of the following types:
StreamIterableMapTable
Source
@override
onInvoke(Map<String, dynamic> params) async {
String name = params["Name"];
String realName = NodeNamer.createName(name);
var p = new Path(path);
_link.addNode("${p.parentPath}/${realName}", {
r"$is": "watchGroup",
r"$name": name
});
_link.save();
}