The DNS resolver from IRuntimeServices.dns
Supplies timers for the poll
Mode, template, port, and poll interval
Substitutes the service name into the configured template.
Logical service name
The hostname to query
Reads the current instance list for a service.
Logical service name
Every instance the backend reports, possibly empty
Polls at watchIntervalMs, firing only when the instance list changed.
DNS has no push channel. Polling is the honest implementation: a watch()
that never fires would be worse than a documented interval.
Resolves services through DNS.
Since
0.2.0