MCPcopy Create free account
hub / github.com/Noumena-Network/code / runCleanupFunctions

Function runCleanupFunctions

src/utils/cleanupRegistry.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 * Used internally by gracefulShutdown.
22 */
23export async function runCleanupFunctions(): Promise<void> {
24 await Promise.all(Array.from(cleanupFunctions).map(fn => fn()))
25}

Callers 1

gracefulShutdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected