MCPcopy Create free account
hub / github.com/LeetCode-OpenSource/ayanami / setCount

Method setCount

test/specs/effect.spec.ts:44–46  ·  view source on GitHub ↗
(state: CountState, count: number)

Source from the content-addressed store, hash-verified

42
43 @Reducer()
44 setCount(state: CountState, count: number): CountState {
45 return { ...state, count }
46 }
47
48 @Effect()
49 add(count$: Observable<number>, state$: Observable<CountState>): Observable<EffectAction> {

Callers 3

addMethod · 0.45
minusMethod · 0.45
ikari.spec.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected