Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hanson/claude-client
/ getTaskCount
Method
getTaskCount
src/session/task-store.ts:171–173 ·
view source on GitHub ↗
* 获取任务数量
(chatId: string)
Source
from the content-addressed store, hash-verified
169
* 获取任务数量
170
*/
171
getTaskCount(chatId: string): number {
172
return
this.getTasksByChat(chatId).length;
173
}
174
}
Callers
nothing calls this directly
Calls
1
getTasksByChat
Method · 0.95
Tested by
no test coverage detected