suspend fun ServiceDiscovery.publishAwait(record: Record): Record
Publishes a record.
resultHandler
- handler called when the operation has completed (successfully or not). In case of success, the passed record has a registration id required to modify and un-register the service.