MCPcopy
hub / github.com/claude-code-best/claude-code / unrefTimer

Function unrefTimer

src/utils/udsMessaging.ts:375–380  ·  view source on GitHub ↗
(timer: ReturnType<typeof setTimeout>)

Source from the content-addressed store, hash-verified

373}
374
375function unrefTimer(timer: ReturnType<typeof setTimeout>): void {
376 const maybeUnref = (timer as { unref?: () => void }).unref
377 if (typeof maybeUnref === 'function') {
378 maybeUnref.call(timer)
379 }
380}
381
382async function closeServer(serverToClose: Server): Promise<void> {
383 await new Promise<void>(resolve => {

Callers 1

startUdsMessagingFunction · 0.85

Calls 1

callMethod · 0.80

Tested by

no test coverage detected