MCPcopy Create free account
hub / github.com/Ridter/cf_workers_proxy / pull

Function pull

js/worker.js:249–252  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected