MCPcopy
hub / github.com/vitejs/vite / [Symbol.asyncDispose]

Function [Symbol.asyncDispose]

packages/vite/src/node/__tests__/http.spec.ts:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 })
35 return {
36 [Symbol.asyncDispose]() {
37 return new Promise<void>((resolve) => {
38 server.close(() => resolve())
39 })
40 },
41 }
42 }
43

Callers

nothing calls this directly

Calls 2

closeMethod · 0.65
resolveFunction · 0.50

Tested by

no test coverage detected