(id: string)
| 2505 | waitState.value[id] = waitState.value[id] ? waitState.value[id] + 1 : 1 |
| 2506 | } |
| 2507 | const unregisterWait = (id: string) => { |
| 2508 | // console.debug("unregister wait", id) |
| 2509 | if (waitState.value[id]) { |
| 2510 | waitState.value[id] = waitState.value[id] - 1 |
| 2511 | if (waitState.value[id] <= 0) { |
| 2512 | delete waitState.value[id] |
| 2513 | } |
| 2514 | } |
| 2515 | } |
| 2516 | |
| 2517 | const getStateValues = < |
| 2518 | const Id extends string, |
no outgoing calls
no test coverage detected
searching dependent graphs…