public AsyncStreamResponse<T> subscribe(Handler<T> handler)| Name | Type | Description |
|---|---|---|
handler* | Handler<T> |
Registers [handler] to be called for events of this stream.
Registers [handler] to be called for events of this stream. [handler]'s methods will be called in the client's configured or default thread pool.
IllegalStateException: if [subscribe] has already been called.