(controller)
| 247 | }, |
| 248 | |
| 249 | pull(controller) { |
| 250 | // if ws can stop read if stream is full, we can implement backpressure |
| 251 | // https://streams.spec.whatwg.org/#example-rs-push-backpressure |
| 252 | }, |
| 253 | cancel(reason) { |
| 254 | // 1. pipe WritableStream has error, this cancel will called, so ws handle server close into here |
| 255 | // 2. if readableStream is cancel, all controller.close/enqueue need skip, |
nothing calls this directly
no outgoing calls
no test coverage detected