MCPcopy Create free account
hub / github.com/experdot/pointer / getSwitchGeneration

Function getSwitchGeneration

src/renderer/src/stores/switchTransactionStore.ts:56–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}))
55
56export function getSwitchGeneration(): number {
57 return useSwitchTransactionStore.getState().sequence
58}
59
60export function isSwitchActive(): boolean {
61 return useSwitchTransactionStore.getState().inProgress

Callers 5

ExplorerFunction · 0.90
ChatEditorFunction · 0.90
useChatTitlesFunction · 0.90
useChatTopicsFunction · 0.90
useGlobalSearchFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected