MCPcopy Create free account
hub / github.com/effect-app/libs / registerWait

Function registerWait

packages/vue/src/commander.ts:2503–2506  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

2501
2502const waitState = ref<Record<string, number>>({})
2503const registerWait = (id: string) => {
2504 // console.debug("register wait", id)
2505 waitState.value[id] = waitState.value[id] ? waitState.value[id] + 1 : 1
2506}
2507const unregisterWait = (id: string) => {
2508 // console.debug("unregister wait", id)
2509 if (waitState.value[id]) {

Callers 1

CommanderImplClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…