[PATCH] ubus: lua: Add support for async calls in lua

Maciej Krüger mkg20001 at mkg20001.io
Sat Jan 21 11:27:41 PST 2023


This extends the conn:call function to take a function as it's last parameter, which will make the library use ubus_invoke_async.

This allows streaming the logs from ubus, among other things.

An example has been provided in lua/streaming_logs.lua




More information about the openwrt-devel mailing list