vertx / io.vertx.rxjava.ext.shell.command / CommandProcess / endHandler

endHandler

open fun endHandler(handler: Handler<Void>): CommandProcess

Set an end handler, this handler is called when the command is ended, for instance the command is running and the shell closes.

Parameters

handler - the end handler

Return
a reference to this, so the API can be used fluently