# Class: TimeoutStream

## vertx-js/timeout_stream~ TimeoutStream

#### new TimeoutStream()

  Source:
    - timeout_stream.js, line 29

### Methods

#### cancel()

  Cancels the timeout. Note this has the same effect as calling TimeoutStream#handler with a null argument.
  Source:
    - timeout_stream.js, line 116

#### endHandler(endHandler) → {TimeoutStream}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `endHandler` | function |

  Source:
    - timeout_stream.js, line 101

  ##### Returns:

  Type
    TimeoutStream

#### exceptionHandler(handler) → {TimeoutStream}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `handler` | function |

  Source:
    - timeout_stream.js, line 41

  ##### Returns:

  Type
    TimeoutStream

#### handler(handler) → {TimeoutStream}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `handler` | function |

  Source:
    - timeout_stream.js, line 57

  ##### Returns:

  Type
    TimeoutStream

#### pause() → {TimeoutStream}

  Source:
    - timeout_stream.js, line 73

  ##### Returns:

  Type
    TimeoutStream

#### resume() → {TimeoutStream}

  Source:
    - timeout_stream.js, line 87

  ##### Returns:

  Type
    TimeoutStream