vertx / io.vertx.reactivex.core.datagram / DatagramSocket / close

close

open fun close(handler: Handler<AsyncResult<Void>>): Unit

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

Parameters

handler - the handler to notify once complete

open fun close(): Unit

Closes the io.vertx.reactivex.core.datagram.DatagramSocket. The close itself is asynchronous.