sys::ServiceWatcher

Summary

Constructors and Destructors

ServiceWatcher(Callback callback)

Public types

Callback using
fit::function< void(fuchsia::io::WatchEvent event, std::string instance)>

Public functions

Begin(const ServiceAggregateBase & service_aggregate, async_dispatcher_t *dispatcher)
zx_status_t
Cancel()
zx_status_t

Public types

Callback

fit::function< void(fuchsia::io::WatchEvent event, std::string instance)> Callback

Public functions

Begin

zx_status_t Begin(
  const ServiceAggregateBase & service_aggregate,
  async_dispatcher_t *dispatcher
)

Cancel

zx_status_t Cancel()

ServiceWatcher

 ServiceWatcher(
  Callback callback
)