Class: TimeoutStream

vertx-js/timeout_stream~ TimeoutStream

new TimeoutStream()

Source:

Methods

cancel()

Cancels the timeout. Note this has the same effect as calling TimeoutStream#handler with a null argument.
Source:

endHandler(endHandler) → {TimeoutStream}

Parameters:
Name Type Description
endHandler function
Source:
Returns:
Type
TimeoutStream

exceptionHandler(handler) → {TimeoutStream}

Parameters:
Name Type Description
handler function
Source:
Returns:
Type
TimeoutStream

handler(handler) → {TimeoutStream}

Parameters:
Name Type Description
handler function
Source:
Returns:
Type
TimeoutStream

pause() → {TimeoutStream}

Source:
Returns:
Type
TimeoutStream

resume() → {TimeoutStream}

Source:
Returns:
Type
TimeoutStream