Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wavetermdev/waveterm
/ countersClear
Function
countersClear
frontend/app/store/counters.ts:6–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
const
Counters =
new
Map<string, number>();
5
6
function
countersClear() {
7
Counters.clear();
8
}
9
10
function
counterInc(name: string, incAmt: number = 1) {
11
let
count = Counters.get(name) ?? 0;
Callers
nothing calls this directly
Calls
1
clear
Method · 0.80
Tested by
no test coverage detected