MCPcopy
hub / github.com/dvajs/dva / EffectsCommandMap

Interface EffectsCommandMap

packages/dva-no-router/index.d.ts:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36export interface EffectsCommandMap {
37 put: <A extends AnyAction>(action: A) => any,
38 call: Function,
39 select: Function,
40 take: Function,
41 cancel: Function,
42 [key: string]: any,
43}
44
45export type Effect = (action: AnyAction, effects: EffectsCommandMap) => void;
46export type EffectType = 'takeEvery' | 'takeLatest' | 'watcher' | 'throttle';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected