MCPcopy Index your code
hub / github.com/simstudioai/sim / maybeClearDrainRetry

Function maybeClearDrainRetry

apps/sim/lib/execution/isolated-vm.ts:450–455  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

448}
449
450function maybeClearDrainRetry() {
451 if (queueSize === 0 && queueDrainRetryTimeout) {
452 clearTimeout(queueDrainRetryTimeout)
453 queueDrainRetryTimeout = null
454 }
455}
456
457function getOrCreateOwnerState(ownerKey: string, ownerWeight: number): OwnerState {
458 const existing = ownerStates.get(ownerKey)

Callers 1

removeQueueNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected