| 34 | } |
| 35 | |
| 36 | export 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 | |
| 45 | export type Effect = (action: AnyAction, effects: EffectsCommandMap) => void; |
| 46 | export type EffectType = 'takeEvery' | 'takeLatest' | 'watcher' | 'throttle'; |
nothing calls this directly
no outgoing calls
no test coverage detected