(...args)
| 94 | } |
| 95 | |
| 96 | pull(...args) { |
| 97 | const { transforms, options } = parsePullArgs(args); |
| 98 | const rawConsumer = this.#createRawConsumer(); |
| 99 | |
| 100 | if (transforms.length > 0) { |
| 101 | if (options) { |
| 102 | return pullWithTransforms(rawConsumer, ...transforms, options); |
| 103 | } |
| 104 | return pullWithTransforms(rawConsumer, ...transforms); |
| 105 | } |
| 106 | return rawConsumer; |
| 107 | } |
| 108 | |
| 109 | #createRawConsumer() { |
| 110 | const state = { |
nothing calls this directly
no test coverage detected