[libubus] ubus_notify vs ubus_notify_async vs ubus_send_event

Hi

I would like to know the difference between notification libubus API : ubus_notify , ubus_notify_async , ubus_send_event

what is the differences between theses APIs ?
what is the (best) usecase for each one?

Regards
Mokhtar

I try to explain the difference between ubus_notify and ubus_notify_async. They are the synchronized and asynchronized version of notify seperately. If you want to block yourself until get the respone, you should use ubus_notify, otherwise you should use ubus_notify_async.

But I have the same confusion of difference between ubus_notify and ubus_send_event. I have learned the reference code roughly, and can't tell the actual difference.