vertx / io.vertx.ext.shell.term / TermServer / close

close

abstract fun close(): Unit

Close the server. This will close any currently open connections. The close may not complete until after this method has returned.

abstract fun close(completionHandler: Handler<AsyncResult<Void>>): Unit

Like #close but supplying a handler that will be notified when close is complete.

Parameters

completionHandler - the handler to be notified when the term server is closed