vertx / io.vertx.reactivex.ext.shell.command / CommandProcess / suspendHandler

suspendHandler

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

Set a suspend handler, this handler is called when the command is suspended, for instance user press Ctrl-Z.

Parameters

handler - the interrupt handler

Return
this command