MCPcopy
hub / github.com/vercel/next.js / close

Method close

packages/next/src/lib/worker.ts:308–313  ·  view source on GitHub ↗

* Quietly end the worker if it exists

()

Source from the content-addressed store, hash-verified

306 * Quietly end the worker if it exists
307 */
308 close(): void {
309 if (this._worker) {
310 cleanupWorkers(this._worker)
311 this._worker.end()
312 }
313 }
314}

Callers 1

constructorMethod · 0.95

Calls 2

cleanupWorkersFunction · 0.85
endMethod · 0.65

Tested by

no test coverage detected