diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-03-06 20:31:46 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-03-07 00:01:43 +0100 |
commit | 078d686f6be3bb1bedf970016327ce6ab222fff6 (patch) | |
tree | 73895d3a89ade1eee2f84f5a61665b4cd83f83d6 /tests/custom/03_stdlib/18_split | |
parent | 6c66c83cea84886281946f507a72a69000df67ba (diff) |
ubus: add event support
Extend the ubus binding to cover ubus event handling APIs.
Instantiating ubus event listener:
listener = conn.listener(
"event.type.*",
function (type, data) {
...event callback...
}
);
listener.remove();
Broadcasting events:
conn.event("event.type.foo", { ...event data... });
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/03_stdlib/18_split')
0 files changed, 0 insertions, 0 deletions