# Module: vertx-js/pump

### 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:
  - vertx-js/pump.js, line 129

##### Returns:

the pump

Type
  Pump