diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-12-07 10:50:12 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-12-08 15:53:40 +0100 |
commit | 66f7c00af29d2547ae541eba3ce768f5eea8d269 (patch) | |
tree | 42f994ce85360d0ea8aa43a89a7cfcc8b747f52d /.gitlab-ci.yml | |
parent | 99fdafd8c03a7baee265ce3dd22af5b2d02fdeb6 (diff) |
ubus: add support for async requests
Introduce a new ubus.defer() method which initiates asynchroneous requests
and invokes the completion callback passed as 4th argument once the reply
is received.
This allows multiplexing mutliple ubus requests with the same ucode VM
context / the same uloop event loop.
In case the ucode context is not running under an active uloop, the ubus
module will spawn uloop itself once the first asynchroneous request is
launched and terminate the loop once all pending requests finished.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions