(connection)
| 43 | |
| 44 | class Channel extends BaseChannel { |
| 45 | constructor(connection) { |
| 46 | super(connection); |
| 47 | this.on('delivery', this.handleDelivery.bind(this)); |
| 48 | this.on('cancel', this.handleCancel.bind(this)); |
| 49 | } |
| 50 | |
| 51 | // An RPC that returns a 'proper' promise, which resolves to just the |
| 52 | // response's fields; this is intended to be suitable for implementing |