File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1
1
export { createEffect } from './effect_creator' ;
2
+ export { EffectConfig } from './models' ;
2
3
export { Effect } from './effect_decorator' ;
3
4
export { getEffectsMetadata } from './effects_metadata' ;
4
5
export { mergeEffects } from './effects_resolver' ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Configures an effect creator. See `createEffect`.
3
+ */
1
4
export interface EffectConfig {
5
+ /**
6
+ * Determines if the action emitted by the effect is dispatched to the store.
7
+ * If false, effect does not need to return type `Observable<Action>`.
8
+ */
2
9
dispatch ?: boolean ;
10
+ /**
11
+ * Determines if the effect will be resubscribed if an error occurs in the main actions stream.
12
+ */
3
13
resubscribeOnError ?: boolean ;
4
14
}
5
15
You can’t perform that action at this time.
0 commit comments