(state, threadId)
| 214 | } |
| 215 | |
| 216 | function labelForThread(state, threadId) { |
| 217 | if (!threadId || threadId === state.rootThreadId || threadId === state.threadId) { |
| 218 | return null; |
| 219 | } |
| 220 | return state.threadLabels.get(threadId) ?? threadId; |
| 221 | } |
| 222 | |
| 223 | function registerThread(state, threadId, options = {}) { |
| 224 | if (!threadId) { |
no outgoing calls
no test coverage detected