# Module: vertx-js/pump

## vertx-js/pump

Source:
  - pump.js, line 3

### Classes

Pump

### Methods

#### <static> Pump.pump(rs, ws, writeQueueMaxSize) → {Pump}

  Create a new `Pump` with the given `ReadStream` and `WriteStream` and `writeQueueMaxSize`

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `rs` | ReadStream | the read stream
  `ws` | WriteStream | the write stream
  `writeQueueMaxSize` | number | the max size of the write queue

  Source:
    - pump.js, line 110

  ##### Returns:

  the pump
  Type
    Pump