MCPcopy
hub / github.com/redux-loop/redux-loop / LoopReducer

Interface LoopReducer

index.d.ts:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17export type Loop<S> = [S, CmdType];
18
19export interface LoopReducer<S, A extends Action = AnyAction> {
20 (state: S | undefined, action: WithDefaultActionHandling<A>, ...args: any[]):
21 | S
22 | Loop<S>;
23}
24
25export interface LoopReducerWithDefinedState<S, A extends Action = AnyAction> {
26 (state: S, action: WithDefaultActionHandling<A>, ...args: any[]): S | Loop<S>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected