vertx / io.vertx.kotlin.core.datagram / io.vertx.core.datagram.DatagramSocket / closeAwait

closeAwait

suspend fun DatagramSocket.closeAwait(): Unit

Closes the io.vertx.core.datagram.DatagramSocket implementation asynchronous and notifies the handler once done.

Parameters

handler - the handler to notify once complete