MCPcopy Create free account
hub / github.com/pacexy/flow / setKeyword

Method setKeyword

apps/reader/src/models/reader.ts:213–217  ·  view source on GitHub ↗
(keyword: string)

Source from the content-addressed store, hash-verified

211
212 keyword = ''
213 setKeyword(keyword: string) {
214 if (this.keyword === keyword) return
215 this.keyword = keyword
216 this.onKeywordChange()
217 }
218
219 // only use throttle/debounce for side effects
220 @debounce(1000)

Callers 2

useIntermediateKeywordFunction · 0.80

Calls 1

onKeywordChangeMethod · 0.95

Tested by

no test coverage detected