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

Method minus

demo/index.tsx:64–73  ·  view source on GitHub ↗
(count$: Observable<number>)

Source from the content-addressed store, hash-verified

62
63 @Effect()
64 minus(count$: Observable<number>): Observable<EffectAction> {
65 return count$.pipe(
66 mergeMap((subCount) =>
67 of(
68 this.getActions().add(-subCount),
69 this.tips.getActions().showTips(`click minus button at ${Date.now()}`),
70 ),
71 ),
72 )
73 }
74}
75
76const InputComponent = React.memo(() => {

Callers 1

minusFunction · 0.45

Calls 2

showTipsMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected