MCPcopy Create free account
hub / github.com/TanStack/query / shutdown

Function shutdown

examples/lit/pagination/scripts/dev.mjs:56–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 })
55
56 const shutdown = async () => {
57 await Promise.all([stop(web), stop(api)])
58 }
59
60 process.on('SIGINT', shutdown)
61 process.on('SIGTERM', shutdown)

Callers 1

runFunction · 0.85

Calls 1

stopFunction · 0.85

Tested by

no test coverage detected