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

# listen

`open fun listen(): TermServer`

Bind the term server, the `#termHandler(Handler)` must be set before.

Return
this object

`abstract fun listen(listenHandler: Handler<AsyncResult<TermServer>>): TermServer`

Bind the term server, the `#termHandler(Handler)` must be set before.

### Parameters

`listenHandler` - the listen handler

Return
this object