OBus_resolverBus name resolving
This module implements bus name resolving and monitoring.
It is basically an abstraction for OBus_bus.get_owner and OBus_bus.name_owner_changed. You should prefer using it instead of implementing your own name monitoring because resolver are shared and obus internally uses them, so this avoids extra messages.
Note that with a peer-to-peer connection, resolver will always act as if there is no owner.
val make :
?switch:Lwt_switch.t ->
OBus_connection.t ->
OBus_name.bus ->
OBus_name.bus React.signal Lwt.tmake ?switch bus name creates a resolver which will monitor the name name on bus. It returns a signal holding the current owner of the name. It holds "" when there is no owner.